PyTorch-YOLOv3
PyTorch-YOLOv3 copied to clipboard
download_weights.sh and get_coco_dataset not Windows Compatible
When on Windows 10 command prompt, running ./weights/download_weights.sh terminal yields:
'.' is not recognized as an internal or external command, operable program or batch file.
Running cd weights followed by download_weights.sh yields:
bash: get: command not found
Context
- [X] I have installed this repo manually and the issue occurred on this commit: 7bee67f
- [ ] I have installed this repo via
PIPand the issue occurred on version: - [ ] The issue occurred when using the following .cfg model:
- [ ]
yolov3 - [ ]
yolov3-tiny - [ ]
CUSTOM
- [ ]
Necessary Checks
- [X] The issue occurred on the newest version
- [ ] I couldn't find a similar issue here on this project's github repo
- [ ] If the issue is CUDA related (CUDA error), I have tested and provided the traceback also when CUDA is turned off
- [X] I have provided all tracebacks or printouts in
Text Form - [ ] In case, the issue occurred on a custom .cfg model, I have provided the model down below
Expected behavior
Weights should be downloaded through terminal
Current behavior
Error mentioned above
Steps to Reproduce
- Use Windows 10 OS
- Clone the repo
cdinto repo home directory and run./weights/download_weights.shcd weightsand rundownload_weights.sh...
Possible Solution
- Write a python script yourself to run the wget in python (Assuming
pip3 install wgethas been done) - Download the links by hand following fix provided in this comment https://github.com/eriklindernoren/PyTorch-YOLOv3/issues/713#issuecomment-877627940
Additional Notes
This bug was solved in one of my other bug reports but I'm submitting the issue here for documentation and also as a formal request for the bash script in the form of a python script for cross-platform compatibility outside of Linux distros.