Closed lucaskyle closed 6 years ago
File dataset.py line 62, 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
sorry, i m train to run the train.py using CASIA dataset then i found this typeError i changed this line into:
len(self.arrimage)//10
it worked, and finished first epoch but stuck...
File dataset.py line 62, 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