Spaces:
Sleeping
A newer version of the Gradio SDK is available:
5.25.2
title: Pth-Scope
emoji: π
colorFrom: pink
colorTo: gray
sdk: gradio
sdk_version: 4.12.0
app_file: app.py
pinned: false
license: ecl-2.0
PTH-Scope
Analysis of PyTorch .pth
files used in model training with PyTorch, FastAI, and TIMM.
Developer
Developer
Developed by Ramon Mayor Martins (2023)
- E-mail: rmayormartins@gmail.com
- Homepage: https://rmayormartins.github.io/
- Twitter: @rmayormartins
- GitHub: https://github.com/rmayormartins
Description
PTH-Scope is an tool designed to provide a detailed analysis of .pth
files, which are model files typically used in PyTorch for neural network training. This tool helps users to understand the architecture and parameters of neural networks, including layer count, types of layers, total parameters, file size, and inferred architecture.
How to Use
- Starting the Application: Launch PTH-Scope by running the script.
- Uploading Files: Click on the 'Upload .PTH File' button to select the
.pth
file you wish to analyze. - Analyzing the File: After selecting the file, the tool will process it and display information such as the layer count, total parameters, file size, main layers, and shapes of the first and last layers.
- Viewing the Results: The results will be displayed in a structured text format, providing insights into the neural network's architecture and complexity.
- Interpreting the Data: The results are presented in an easy-to-understand manner. Review the data to gain insights into the neural network's design and parameters.
- Error Handling: In case of any errors, such as incompatible file formats or corrupt files, the tool will display an error message, guiding you to troubleshoot.
Feel free to upload different .pth
files to explore the capabilities of PTH-Scope and deepen your understanding of neural network architectures.
Contact me if you have any questions or suggestions!
Other
Check out the configuration reference at Hugging Face Spaces Config Reference.