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 scripts no longer working #36
Comments
It seems I can run the script successfully without any issues. Can you provide more info of you system? |
Ubuntu 16.04, Python 3.6, PyTorch 0.4.0.
|
I am hitting the same error. Ubuntu 18.04 Python 3.6.5. My first reaction was to drop an init.py into the scripts folder too, but it didn't help on the first try. I'm still looking at it. |
My hack was to cd into scripts/street, then do "ln -s ../download_* .", and then update download_models.py to import from the current folder. Ditto for face and pose. That is a hack, but it got me past that step for now. I was too impatient to figure out the correct import paths and module stubs. |
I am too having the same issue. Which is, I get this error when I try to download:
I also tried to run my own model and I am getting this:
I have made sure pyTorch is installed. Its using 0.4.1. This I think is because I was unable to download the sample model? Please help. I am on ubuntu 16.04 running on 1 Tesla K80 GPU. |
You can manually move the download_drive.py to the street folder and modify the import line for now. Also for resample2d make sure you are installing flownet2. |
Error still exist in master. It's something like https://stackoverflow.com/questions/72852/how-to-do-relative-imports-in-python |
I forget Python's import rules so a quick hacky workaround is to insert this at the top of "scripts/face/download_models.py":
|
This error is also present when using the docker image |
Having the same issue. Any proper ways to deal with this? |
breckuh solution works fine. Do not forget to change line:
to
|
They need to be updated as the scripts are now in specific sub folders. Also, I believe an init.py file is required in the scripts folder.
The text was updated successfully, but these errors were encountered: