Explore our project on Devpost for in-depth details and documentation: ByteSize on Devpost
Follow these steps to set up and run ByteSizeML on your local machine:
-
Download/Clone Repository: Download or clone this repository to your local machine.
-
Optional: Create a Virtual Environment (venv): If you prefer, create a virtual environment to isolate project dependencies.
-
Install Requirements: Install the required Python packages by running the following command:
pip install -r requirements.txt
-
Install PyTorch: Visit the PyTorch website and follow the "Install PyTorch" prompt to find the appropriate PyTorch download command. You can use pip as your package manager. Once you have the installation command, execute it to install PyTorch.
-
Ensure SRGAN_x4-ImageNet-c71a4860.pth.tar File: Make sure the SRGAN_x4-ImageNet-c71a4860.pth.tar file is located inside the results folder.
-
Modify "inference.py": Change line 101 in the inference.py script from "res2" to the name of your text file.
-
Modify "imgproc.py": Adjust line 208 and 209 in the imgproc.py script to specify the height and width of your image.
-
Create "figure" Folder: Create a folder named "figure," and within it, include the subfolders "video_files" and "videos." Place your text file inside the "figure" folder.
-
Run "inference.py": Execute the inference.py script. After running it, an .mp4 video file should appear in the "videos" subfolder, ready for playback.
-
Frontend: Explore the frontend of this project on GitHub: ByteSize Frontend
-
Backend: Access the backend codebase on GitHub: ByteSize Backend
For more comprehensive information, documentation, and project details, please visit our ByteSize project page on Devpost: ByteSize on Devpost**
Enjoy exploring ByteSizeML, and feel free to reach out if you have any questions or feedback!