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

error with loading images from dataset_train #2

Open
wafabouzid opened this issue Mar 19, 2019 · 3 comments
Open

error with loading images from dataset_train #2

wafabouzid opened this issue Mar 19, 2019 · 3 comments
Labels
question Further information is requested

Comments

@wafabouzid
Copy link

Hi, can you help me please I found this error when trying to execute fish_detection.ipynb and thank you for advanced

for i in range(8):
image_id = i
image = dataset_train.load_image(image_id)
mask, class_ids = dataset_train.load_mask(image_id)
visualize.display_top_masks(image, mask, class_ids, dataset_train.class_names)
mask.shape

AttributeError Traceback (most recent call last)
in
1 for i in range(8):
2 image_id = i
----> 3 image = dataset_train.load_image(image_id)
4 mask, class_ids = dataset_train.load_mask(image_id)
5 visualize.display_top_masks(image, mask, class_ids, dataset_train.class_names)

AttributeError: 'str' object has no attribute 'load_image'

Le mar. 19 mars 2019 à 15:18, bouzid wafa wafabouzid27@gmail.com a écrit :

@JaeungHyun
Copy link
Collaborator

Well, it is weird. I executed that part again, it works well

@JaeungHyun JaeungHyun added the question Further information is requested label Mar 19, 2019
@JaeungHyun JaeungHyun assigned JaeungHyun and unassigned JaeungHyun Mar 19, 2019
@wafabouzid
Copy link
Author

wafabouzid commented Mar 19, 2019 via email

@JaeungHyun
Copy link
Collaborator

Sorry, It is hard to show screen capture

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

No branches or pull requests

2 participants