Practical overview
When it fits
Use the hosted interface for image classification, or the repository when you want to evaluate the included model, inspect the Flask app, or follow its retraining instructions.
Who it is for
- People exploring image classification through astronomy-themed examples.
- Python developers studying or adapting a TensorFlow model and Flask interface.
Documented uses
- Submit an image or image URL for celestial-object classification.
- View labels and class-percentage results for an image.
- Evaluate the included model on an image or retrain it using an image directory.
Requirements & limits
- The repository identifies its license as GPL-3.0.
- The documented stack includes Python, TensorFlow and Flask.
- The README's setup example lists TensorFlow 1.14, Wikipedia and PyYAML; its conda example specifies Python 3.9.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Evaluate an image with the included model
Run the repository's documented single-image evaluation command.
Before you start
- The repository's trained files
- Python and the project's dependencies, including TensorFlow
Steps
Set up a Python environment and install the listed requirements.
From the repository, run the command below, or substitute another image path.
python label_image.py test_data/uranus/000.jpg
Expected outcome
The model evaluates the selected image for classification.
Guide limitations
- The README documents evaluation with its included test images or another image path; it does not specify expected accuracy.
Retrain the classifier on an image directory
Start the repository's documented model-retraining process with an image directory.
Before you start
- Python environment with the listed requirements installed
- An image directory organized for training
Steps
Set up the Python environment and install the repository requirements.
Run the documented the command below command with its bottleneck, model, summary, graph, label and image-directory arguments.
python retrain.py
Expected outcome
The command is configured to retrain the classifier and write graph and label output files.
Guide limitations
- The README says Inception is downloaded automatically during training.
- Its example GPU setup is optional and specifically references an Nvidia GTX 1080.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 12 October 2026
- Original website title
- ritwik12/Celestial-bodies-detection · Official homepage title · retained in its source language

