We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ValueError Traceback (most recent call last) in 1 # Train the data ----> 2 (x_train, y_train), (x_test, y_test) = odir.load_data(128)
c:\Users\sarth\Documents\ocular-disease-intelligent-recognition-deep-learning-master\odir.py in load_data(image_size, index, challenge) 25 26 if index == 0: ---> 27 x_train = load_npy(f'odir_training_{image_size}.npy', allow_pickle=False) 28 y_train = load_npy(f'odir_training_labels_{image_size}.npy') 29 else:
c:\Users\sarth\anaconda3\envs\ODIR\lib\site-packages\numpy\lib\npyio.py in load(file, mmap_mode, allow_pickle, fix_imports, encoding) 442 # Try a pickle 443 if not allow_pickle: --> 444 raise ValueError("Cannot load file containing pickled data " 445 "when allow_pickle=False") 446 try:
ValueError: Cannot load file containing pickled data when allow_pickle=False
The text was updated successfully, but these errors were encountered:
No branches or pull requests
ValueError Traceback (most recent call last)
in
1 # Train the data
----> 2 (x_train, y_train), (x_test, y_test) = odir.load_data(128)
c:\Users\sarth\Documents\ocular-disease-intelligent-recognition-deep-learning-master\odir.py in load_data(image_size, index, challenge)
25
26 if index == 0:
---> 27 x_train = load_npy(f'odir_training_{image_size}.npy', allow_pickle=False)
28 y_train = load_npy(f'odir_training_labels_{image_size}.npy')
29 else:
c:\Users\sarth\anaconda3\envs\ODIR\lib\site-packages\numpy\lib\npyio.py in load(file, mmap_mode, allow_pickle, fix_imports, encoding)
442 # Try a pickle
443 if not allow_pickle:
--> 444 raise ValueError("Cannot load file containing pickled data "
445 "when allow_pickle=False")
446 try:
ValueError: Cannot load file containing pickled data when allow_pickle=False
The text was updated successfully, but these errors were encountered: