This guide will help you get started with using the PaleoNet dinosaur classification application.
Before you can use PaleoNet, you need to install the required dependencies:
-
Ensure you have Python 3.8 or higher installed on your system.
-
Clone the repository or download the project files.
-
Install the required Python packages:
pip install -r requirements.txt
For Windows users, you can start PaleoNet using PowerShell:
-
Navigate to the project directory
-
Open PowerShell and run:
streamlit run PaleoNet.py
-
The application will start and open in your default web browser
If you prefer to start the application manually, you can use the following command:
streamlit run PaleoNet.pyThis will launch the Streamlit server and open the application in your default web browser at http://localhost:8501.
The application uses a tabbed interface for the main sections:
- Home: Overview of the application
- Upload Image: Upload your own images for classification
- Sample Gallery: Explore sample images from the test dataset
Additional pages are accessible from the sidebar pages menu.
The home tab provides an overview of the PaleoNet application, including:
- A brief description of the project and features
- A list of supported dinosaur species
- A quick demo that lets you classify a random sample image
The "Upload Image" tab allows you to:
- Upload your own dinosaur image (.jpg, .jpeg, or .png format)
- View the classification results, including:
- The predicted species
- Confidence level
- Top 3 predictions
- Information about the predicted dinosaur species
Tips for uploading images:
- Use clear, well-lit images
- Images should show the dinosaur clearly against the background
- Both illustrations and photographs work well
The "Sample Gallery" tab lets you:
- Select a dinosaur species from the dropdown menu
- View random sample images from that species
- See how the model classifies these samples
- Compare true labels with predictions
This is useful for understanding the model's strengths and weaknesses.
The "Model Performance" page (accessible from the sidebar) provides:
- Overall accuracy, precision, recall, and F1 score metrics
- Explanation of the model architecture
- Visual representation of the training process
- Insights into where the model performs well and where it struggles
The "Model Info" page (accessible from the sidebar) offers technical details about:
- The model architecture (EfficientNetB0 with custom layers)
- Training process and techniques used
- Dataset preparation and splitting
- Class distribution across the dataset
The "Dinosaur Encyclopedia" page (accessible from the sidebar) is an educational resource that provides:
- Detailed information about each dinosaur species
- Time period when they lived
- Physical characteristics and behavior
- Interesting facts
- Related species and evolutionary relationships
For the best classification results:
- Use high-quality images showing the full dinosaur
- Illustrations and clear renders often work better than photographs
- Images should have good lighting and minimal background clutter
- If results seem off, try a different image angle
Common issues and solutions:
-
Application won't start
- Ensure all dependencies are installed
- Check for Python version compatibility
- Verify you're running from the correct directory
-
Image upload errors
- Ensure image is in JPG, JPEG, or PNG format
- Check that file size is under 200MB
- Try a different image if problems persist
-
Low confidence predictions
- Try a clearer image with less background
- Use images that show distinctive features of the dinosaur
- Consider that some species have similar appearances
-
Slow performance
- Model inference requires sufficient computing resources
- Close other resource-intensive applications
- First prediction may take longer as the model loads
For further assistance, please open an issue on the project repository.