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
this is the section that encounters the error
`filename = None
for filename in range(1, 3065):
with h5py.File('/content/BrainTumorClassification/data/{}.mat'.format(filename), 'r') as f:
img = f['cjdata']['image']
label = f['cjdata']['label'][0][0]
Hi
Please could you kindly check this notebook:
https://github.com/aksh-ai/neuralBlack/blob/master/brain_tumor_dataset_preparation.ipynb
for possible code error?
NameError Traceback (most recent call last)
in ()
9 labels.append(int(label))
10
---> 11 border.append(coord)
12 img = np.array(img, dtype=np.float32)
13
The text was updated successfully, but these errors were encountered: