-
Notifications
You must be signed in to change notification settings - Fork 133
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
Getting started tutorial not working #192
Comments
Hi, It seems like maybe some of the environment variables didn't get properly sourced. Try running
before launching the notebook and see if that helps. I think this is detailed in our tutorial but if not let us know and we can fix it. |
Your second error is related to the fact that we use a custom fork of pytorch/vision which does support the FYI the custom fork we use is here https://github.com/warmspringwinds/vision/tree/5e0a760fc847d55a4c1699410a14003452fa4581 |
Hi @Ademord , yes I think you are just missing that part of Step 5 that Lucas pointed out. That will probably fix all of your problems, but let us know if it doesn't. |
Also feel free to try to change all the versions of all the dependencies, but it should just work if you keep to the ones we provided. The reason we provide it in a docker format is so that all these dependencies can be well tracked, and the libraries are contained to this project only. Also we have a version of this working with pytorch 1.0 on a private branch, was a bit of work to get there but we will release it eventually. |
Hello, The env vars are set but the |
Hi, So there is no need to do any additional installation, if you follow the tutorial everything you need is there.. Can you confirm that (as detailed in the tutorial) you have run
before building the docker image. My guess is that you missed this command and so you don't have the aforementioned fork of torchvision in your source tree. In your jupyter notebook please check where your
You shouldn't be importing the system installed version, which is what would happen if you didn't do the
In general it seems like maybe you missed one or two steps in the tutorial/setup so it may be worth going through that again from scratch and just make sure you have done everything correctly. |
Hi, Now, I get the following error: It seems like this is because of a newer torchtext version thats not compatible with our older torch version... I tried with |
Okay, I think I got it. GEEZ.
|
Glad you also figured it out. This is addressed in our code by the following line: pytorch-dense-correspondence/modules/dense_correspondence_manipulation/utils/utils.py Line 115 in c6cb473
This is why |
Thanks! Interestingly it didn't run on mine (new, clean download). I think it would be good to have an assert in case it doesnt import it in the beginning for a user ? (verify that torchvision.file is at X location ? Problem 1: Problem 2: The files in the path under caterpillar_3 are
|
I have found that a fix for problem 1 is open on issue #169 :
But problem 2 still persists. Update: so I figured out that problem 2 assumes there is some hardcoded 3500 somewhere else for the number of iterations (which in the notebook is variable). In these images, are we seeing the cross-object loss? and could you please help me understand a bit more of this concept? And also, how can I better understand the descriptor images? My ultimate goal is to use the Dense Object Nets for robot manipulation as well. I am looking also at this. I'm going to re-read your paper in the meantime. Cheers! |
Hello
I have followed your Getting Started Tutorial, and after a whole day of fixing dependencies and build problems, have decided to give up because it's just not feasible to run this.
After building the image, and then running it, the dependencies in the first notebook (test) are all messed up; modules are importing from a parent directory and don't have the "modules.x" prefix, which makes the jupyter notebook blow up, error after error.
I created a notebook on the root of dense-correspondence, and then fixed on my local sandbox, all the dependencies. Finally, the first (test) notebook you point to, works.
Then I go into the training_notebook, and ran into this issue:
_init__() got an unexpected keyword argument "fully_conv"
, which had me clean up your dependency install file (pytorch outdated, pip outdated; reminder: there's only 7 months left of support for python 2.7..), which I have not been able to fix and has made me come here to ask for help. Do you have any idea about this problem?Appendix
Example the dependencies in your notebooks dont work outside of the box (modules.x prefix missing):
Second error I haven't been able to fix:
The text was updated successfully, but these errors were encountered: