Skip to content
New issue

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

Getting error while running odir_inception_v3_training_basic.py #4

Open
sarthak14rane opened this issue Jan 12, 2024 · 0 comments
Open

Comments

@sarthak14rane
Copy link


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
Screenshot 2024-01-12 113754

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant