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

Add ability to load classifier container with no datasloaders/labels map #275

Closed
rwood-97 opened this issue Oct 25, 2023 · 0 comments · Fixed by #280
Closed

Add ability to load classifier container with no datasloaders/labels map #275

rwood-97 opened this issue Oct 25, 2023 · 0 comments · Fixed by #280
Assignees
Labels
bug Something isn't working classify Issues related to the "Classify" functionality Predict Issues related to the "Predict" functionality

Comments

@rwood-97
Copy link
Collaborator

Describe the bug
MapReader needs you to create a ClassifierContainer in order to run inference on new patches.
Setting this up requires three params:

  • model
  • dataloaders
  • labels_map

The dataloaders and labels map are currently pulled from the annotations so this means that if you are running inference with no annotations then you cannot create the ClassifierContainer.

Would be good to have a separate set up for training vs inference.

Expected behavior
Would like to be able to set up the ClassifierContainer using just the model if all you are doing is inference.

@rwood-97 rwood-97 added bug Something isn't working classify Issues related to the "Classify" functionality Predict Issues related to the "Predict" functionality labels Oct 25, 2023
@rwood-97 rwood-97 self-assigned this Oct 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working classify Issues related to the "Classify" functionality Predict Issues related to the "Predict" functionality
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant