samuelyu2002/ImVisible

Is there a requirements.txt?

vladd11 opened this issue · 2 comments

Hi. I have some issues to run training with latest version of Pytorch.
I have no time to fix they, so I wanna just downgrade the version, but I don't know what version I should use.

Like:

Traceback (most recent call last):
  File "ImVisible-master/Model/training.py", line 94, in <module>
    loss.backward()
  File "/usr/local/lib/python3.7/dist-packages/torch/_tensor.py", line 307, in backward
    torch.autograd.backward(self, gradient, retain_graph, create_graph, inputs=inputs)
  File "/usr/local/lib/python3.7/dist-packages/torch/autograd/__init__.py", line 156, in backward
    allow_unreachable=True, accumulate_grad=True)  # allow_unreachable flag
RuntimeError: Found dtype Double but expected Float

Fixed.
image