When I try to run the notebook
AttributeError Traceback (most recent call last)
<ipython-input-16-6f9310cafa62> in <module>
12 print('######### Dataset class created #########')
13 print('Number of images: ', len(dset))
---> 14 print('Sample image shape: ', dset[0]['image'].shape)
15 #print('Sample image points categories', dset[0]['category'], end='\n\n')
16
<ipython-input-15-a0ffe3b5dad8> in __getitem__(self, idx)
36 category = self.files[idx]['category']
37 with open(img_path, 'r') as f:
---> 38 image1 = read_pts(f)
39 with open(category, 'r') as f:
40 category1 = read_seg(f)
<ipython-input-13-6a351433de44> in read_pts(file)
3 def read_pts(file):
4 verts = np.genfromtxt(file)
----> 5 return utils.cent_norm(verts)
6 #return verts
7
AttributeError: module 'utils' has no attribute 'cent_norm'
Initially I had this error
ModuleNotFoundError: No module named 'utils'
So i installed this package but I think that it is not the correct one. Which one do I have to install?
When I try to run the notebook
Initially I had this error
So i installed this package but I think that it is not the correct one. Which one do I have to install?