ntubiolin / xcos

83 stars 18 forks source link

In environment.yaml, the versions of python and pytorch are not the newest. #3

Open ntubiolin opened 4 years ago

ntubiolin commented 4 years ago

I ran into this error:

  File "/home/r07944011/xcos/src/model/face_recog.py", line 398, in forward
    index = index.type(torch.BoolTensor)
AttributeError: module 'torch' has no attribute 'BoolTensor'

and it seems due to pytorch version is not the newest (> 1.0). Hope the version config in the environment.yaml could be updated.