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

Conda environment, aka dependecies file #52

Open
cardoso-neto opened this issue Feb 13, 2019 · 0 comments
Open

Conda environment, aka dependecies file #52

cardoso-neto opened this issue Feb 13, 2019 · 0 comments

Comments

@cardoso-neto
Copy link

Created an env file which you can use.
Just download the yaml from my repo https://github.com/cardoso-neto/ssds.pytorch/blob/5384d8c27de82919eab956655a88834e29ac8c2d/ssds.yaml and run conda env create -f ssds.yaml

This will, however, require one small modification to line 45 of ssds_train.py from:

self.priors = self.priorbox.forward()

to:

self.priors = Variable(self.priorbox.forward())

The error message is quite clear and straightforward, suggesting to cast the torch.Tensor to an autograd.Variable.

After fiddling a bit with different Python/Pytorch versions, this is seemed to work:
Python=3.6
Pytorch=0.3.1

Not really an issue. Just wanted to leave this somewhere where it'd be helpful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant