Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

download_weights.sh and get_coco_dataset not Windows Compatible #714

Open
3 of 11 tasks
zhengpengen opened this issue Jul 10, 2021 · 0 comments
Open
3 of 11 tasks

download_weights.sh and get_coco_dataset not Windows Compatible #714

zhengpengen opened this issue Jul 10, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@zhengpengen
Copy link

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

  • I have installed this repo manually and the issue occurred on this commit: 7bee67f
  • I have installed this repo via PIP and the issue occurred on version:
  • The issue occurred when using the following .cfg model:
    • yolov3
    • yolov3-tiny
    • CUSTOM

Necessary Checks

  • 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
  • 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

  1. Use Windows 10 OS
  2. Clone the repo
  3. cd into repo home directory and run ./weights/download_weights.sh
  4. cd weights and run download_weights.sh
    ...

Possible Solution

  1. Write a python script yourself to run the wget in python (Assuming pip3 install wget has been done)
  2. Download the links by hand following fix provided in this comment Unable to find installation candidates for torchvision (0.8.2) during poetry install #713 (comment)

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.

@zhengpengen zhengpengen added the bug Something isn't working label Jul 10, 2021
@zhengpengen zhengpengen changed the title ./weights/download_weights.sh not Windows Compatible download_weights.sh and get_coco_dataset not Windows Compatible Jul 11, 2021
@Flova Flova mentioned this issue Jul 11, 2021
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant