You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "train.py", line 142, in
train(epoch,args)
File "train.py", line 101, in train
bs=args.bs,shuffle=True,nthread=6,imagesize=128)
File "/DL/pytorch/sphereface_pytorch/dataset.py", line 60, in init
self.nparrimage = np.frombuffer(self.arrimage.get_obj(),np.float32).reshape(10,len(self.arrimage)/10)
TypeError: 'float' object cannot be interpreted as an integer
The text was updated successfully, but these errors were encountered:
Anyone solve same problem?
File "train.py", line 142, in
train(epoch,args)
File "train.py", line 101, in train
bs=args.bs,shuffle=True,nthread=6,imagesize=128)
File "/DL/pytorch/sphereface_pytorch/dataset.py", line 60, in init
self.nparrimage = np.frombuffer(self.arrimage.get_obj(),np.float32).reshape(10,len(self.arrimage)/10)
TypeError: 'float' object cannot be interpreted as an integer
The text was updated successfully, but these errors were encountered: