Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
ECE50024_Project/README.md
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
37 lines (20 sloc)
416 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Requirements | |
- pytorch >=2.0 | |
- torchvision | |
- os | |
- time | |
- PIL | |
# Training | |
Select appropriate parameters in training.py | |
To train: | |
```sh | |
python3 training.py | |
``` | |
Models will be saved to the 'models' folder | |
# Testing | |
In testing.py change model_path to the path of the saved model, and change the test_img_path as required | |
To test: | |
```sh | |
python3 testing.py | |
``` | |
Image will be saved to the 'outputs' folder |