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

RuntimeError: Don't know how to plot this dataset. #3

Open
omid-ghozatlou opened this issue Jun 30, 2021 · 1 comment
Open

RuntimeError: Don't know how to plot this dataset. #3

omid-ghozatlou opened this issue Jun 30, 2021 · 1 comment

Comments

@omid-ghozatlou
Copy link

Hello

First of all, thank you for letting it be open source and the respiratory has a very interesting idea. I got this error when I want to plot batches after the learning round and also I have a question: How we can use this using real user feedback not simulate relevance feedback?

Thanks in advance

@Callidior
Copy link
Contributor

Hello,

thanks for your interest in this project.

Our visualization utility function supports two types of datasets: Image datasets, which have an imgs_train attribute providing a list of all training images or their filenames, or datasets with 2-dimensional data. Your dataset seems to be none of these, so the function does not know how to plot it.
Could you elaborate your use case further?

To integrate user feedback, one would call the ITAL.update method with the obtained feedback and then call ITAL.fetch_unlabelled to obtain a new batch of images to be annotated. During the entire process, you can also obtain the currently most relevant results using ITAL.top_results. It's probably useful to show both to the user. This way, the user can see the most relevant images at any stage of the process and decide when to stop and also improve the results further by annotating the provided active learning batch.

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

2 participants