-
Notifications
You must be signed in to change notification settings - Fork 25
Closed
Description
I am using this torch file (https://s3.amazonaws.com/xunhuang-public/adain/vgg_normalised.t7) and is using the following line of code to load it:
t7 = torchfile.load(t7_file, force_8bytes_long=False)
Looks like it works in Linux, but it doesn't work in Windows. Error message is:
t7 = torchfile.load(t7_file, force_8bytes_long=False)
File "C:\Program Files\Python36\lib\site-packages\torchfile.py", line 424, in load
return reader.read_obj()
File "C:\Program Files\Python36\lib\site-packages\torchfile.py", line 370, in read_obj
obj._obj = self.read_obj()
File "C:\Program Files\Python36\lib\site-packages\torchfile.py", line 385, in read_obj
k = self.read_obj()
File "C:\Program Files\Python36\lib\site-packages\torchfile.py", line 386, in read_obj
v = self.read_obj()
File "C:\Program Files\Python36\lib\site-packages\torchfile.py", line 370, in read_obj
obj._obj = self.read_obj()
File "C:\Program Files\Python36\lib\site-packages\torchfile.py", line 387, in read_obj
obj[k] = v
TypeError: unhashable type: 'list'
Looks like something is wrong here? How should I fix it?
zhouqzzw, ChHanXiao, firepd and Animadversio
Metadata
Metadata
Assignees
Labels
No labels