anaksor-ocr
Sokheng · Kit
Reads Khmer and English text from documents, receipts and photos of signs, using a detector for text lines and a recogniser for each line. Suits developers who…
Predicts GOES soft X-ray flux from a 7-channel SDO/AIA solar observation you upload as a NumPy file, and returns a composite image and a flux contribution map. Meant for solar physics researchers.
FOXES - A Framework for Operational X-ray Emission Synthesis is a kit in the Research category, listed by Mindket. It is free. This is version 1, last updated on . Download it on this page, a zip of its files. Nothing in it runs by itself.
pip install -U huggingface_hub hf download griffingoodwin04/FOXES-model --repo-type space --local-dir FOXES-model cd FOXES-model
This Space takes a 7-channel SDO/AIA observation and predicts the GOES soft X-ray flux that goes with it. It runs a regression model built on a ViT and returns the flux value, its GOES class, a composite image and a flux contribution map. You supply the observation as a NumPy file.
It suits solar physics researchers and students who work with AIA observations and want a model estimate of soft X-ray flux. Machine learning developers can also read it as a worked example of a patch-based model in a small Gradio app.
| Industry | Who uses it | How they use it | Example |
|---|---|---|---|
| Research | Solar physicists | Estimate soft X-ray flux from AIA observations | Give the app one seven-channel observation and read the predicted flux |
| Space science | Teams that work with solar data | Read the predicted GOES class for an observation | Compare a predicted class with the instrument's own record |
| Education | Students of solar physics or machine learning | Study a ViT regression model on real solar images | Look at the flux contribution map to see how predicted flux spreads across the image |
| Software | Machine learning developers | Read app.py and vit_patch_model_local.py | Learn how a patch-based model is wrapped as a Gradio app |
If you have no AIA data in seven channels at 512x512, you can skip it.
The app runs in two places.
| Use case | Who | What they get back |
|---|---|---|
| Predict flux | Researchers | A predicted soft X-ray flux value and its GOES class |
| See the observation | Anyone with an AIA file | A composite picture built from the 211, 193 and 171 channels |
| Map the flux | Researchers | A flux contribution map showing where the predicted flux comes from in the image |
The online Space needs none of this. For a local copy you need a few things first.
These are Hugging Face's steps for a local copy. The repository already holds model.ckpt and normalized_sxr.npy.
pip install -U huggingface_hub hf download griffingoodwin04/FOXES-model --repo-type space --local-dir FOXES-model cd FOXES-model pip install gradio==5.12.0 pip install -r requirements.txt python app.py
Start the app, or open the Space page, and upload one .npy file. The file must hold a float32 array of shape (7, 512, 512), one 512x512 image for each of the 94, 131, 171, 193, 211, 304 and 335 Angstrom channels. The app then returns the flux prediction, the composite image and the flux contribution map.
python app.py
| Tool | What it does |
|---|---|
| python app.py | Starts the Gradio app from your downloaded copy |
You upload a .npy file with the seven AIA channels for one moment. The app returns a predicted soft X-ray flux in W/m^2 with its GOES class. You also get an RGB picture from the 211, 193 and 171 channels, and a map of how the predicted flux is spread over the image.
The model takes seven views of the Sun in different wavelengths and predicts one number, a soft X-ray flux. Start by preparing a small .npy file in the shape above and uploading it. The repository lists no examples folder, so you bring the file yourself.
Under the hood, the 512x512 input is cut into 8x8 pixel patches, 4096 in all, and a ViT regresses the flux from them. The fixed input shape is the trade-off, because the app only accepts seven channels at that size. The repository also holds fetch_aia.py and fetch_goes.py, and the source does not say how to run them.
A few facts are worth checking first.
Predicts GOES soft X-ray flux from a 7-channel SDO/AIA solar observation you upload as a NumPy file, and returns a composite image and a flux contribution map. Meant for solar physics researchers.
Made by griffingoodwin04 on Hugging Face. These notes are Mindket's, written from its Space page and README; the app's own files and license are on Hugging Face.
What it is: This Space takes a 7-channel SDO/AIA observation and predicts the GOES soft X-ray flux that goes with it. It runs a regression model built on a ViT and returns the flux value, its GOES class, a composite image and a flux contribution map. You supply the observation as a NumPy file.
Who it suits: It suits solar physics researchers and students who work with AIA observations and want a model estimate of soft X-ray flux. Machine learning developers can also read it as a worked example of a patch-based model in a small Gradio app.
Industry | Who uses it | How they use it | Example
Research | Solar physicists | Estimate soft X-ray flux from AIA observations | Give the app one seven-channel observation and read the predicted flux
Space science | Teams that work with solar data | Read the predicted GOES class for an observation | Compare a predicted class with the instrument's own record
Education | Students of solar physics or machine learning | Study a ViT regression model on real solar images | Look at the flux contribution map to see how predicted flux spreads across the image
Software | Machine learning developers | Read app.py and vit_patch_model_local.py | Learn how a patch-based model is wrapped as a Gradio app
If you have no AIA data in seven channels at 512x512, you can skip it.
Where to use it: The app runs in two places.
Use case | Who | What they get back
Predict flux | Researchers | A predicted soft X-ray flux value and its GOES class
See the observation | Anyone with an AIA file | A composite picture built from the 211, 193 and 171 channels
Map the flux | Researchers | A flux contribution map showing where the predicted flux comes from in the image
How to set it up: The online Space needs none of this. For a local copy you need a few things first.
These are Hugging Face's steps for a local copy. The repository already holds model.ckpt and normalized_sxr.npy.
pip install -U huggingface_hub
hf download griffingoodwin04/FOXES-model --repo-type space --local-dir FOXES-model
cd FOXES-model
pip install gradio==5.12.0
pip install -r requirements.txt
python app.py
How to use it: Start the app, or open the Space page, and upload one .npy file. The file must hold a float32 array of shape (7, 512, 512), one 512x512 image for each of the 94, 131, 171, 193, 211, 304 and 335 Angstrom channels. The app then returns the flux prediction, the composite image and the flux contribution map.
python app.py
Tool | What it does
python app.py | Starts the Gradio app from your downloaded copy
Example: You upload a .npy file with the seven AIA channels for one moment. The app returns a predicted soft X-ray flux in W/m^2 with its GOES class. You also get an RGB picture from the 211, 193 and 171 channels, and a map of how the predicted flux is spread over the image.
For newcomers and experts: The model takes seven views of the Sun in different wavelengths and predicts one number, a soft X-ray flux. Start by preparing a small .npy file in the shape above and uploading it. The repository lists no examples folder, so you bring the file yourself.
Under the hood, the 512x512 input is cut into 8x8 pixel patches, 4096 in all, and a ViT regresses the flux from them. The fixed input shape is the trade-off, because the app only accepts seven channels at that size. The repository also holds fetch_aia.py and fetch_goes.py, and the source does not say how to run them.
You upload a (7, 512, 512) float32 .npy file
The ViT model splits it into 8x8 pixel patches
It regresses the soft X-ray flux in W/m^2
The app shows flux, GOES class, composite and map
Good to know: A few facts are worth checking first.
Open the Space in your browser, or copy it to your own Hugging Face account from its page. Nothing in this kit runs by itself.
README.md 6 KB
Listed Hugging Face Spaces in the same category that share the most tags with this one.
| Product | Likes | Built with | License | Last change |
|---|---|---|---|---|
| FOXES - A Framework for Operational X-ray Emission Synthesis This page | 1 | gradio | cc-by-4.0 | |
| Open VLM LeaderboardShares gradio | 1,034 | gradio | apache-2.0 | |
| Face SwapShares gradio | 808 | gradio | cc-by-nc-sa-4.0 | |
| TTS Spaces ArenaShares gradio | 493 | gradio | zlib | |
| Depth Anything 3Shares gradio | 490 | gradio | cc-by-nc-4.0 | |
| BLIPShares gradio | 431 | gradio | bsd-3-clause |
Sokheng · Kit
Reads Khmer and English text from documents, receipts and photos of signs, using a detector for text lines and a recogniser for each line. Suits developers who…
Qwen · Kit
Qwen2.5-7B-Instruct as GGUF files in eight quantization sizes, to chat with locally through llama.cpp. For people who want a capable 7.6B model on their own co…
ACE-Step · Kit
Generates music from text with a 4B diffusion decoder, 50 steps and guidance control, aiming for higher audio quality than the base. For creators with a GPU of…
AbdomenAtlas · Kit
Detects and outlines tumors in 9 organs on CT scans, trained with the R-Super method that learns from radiology reports. A research model for medical imaging g…
dBenf · Kit
Answers typed questions about satellite image patches from all 12 Sentinel-2 bands, returning a probability for each option without writing text. A Qwen3.5-0.8…
zimmerk4 · Kit
Plays the full game Getting Over It from the bottom to the end with a small trained policy network that learned inside a JAX physics simulator. For reinforceme…