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

Arrow Dataset adoptability #177

Closed
parmidaatg opened this issue Dec 15, 2021 · 0 comments
Closed

Arrow Dataset adoptability #177

parmidaatg opened this issue Dec 15, 2021 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@parmidaatg
Copy link
Collaborator

Describe the bug
Arrow dataset and more precisely HFdatasets won't be indexable with type "numpy.int64" we need to fix this again.

To Reproduce
given train_set is a HFDataset,

active_dataset = ActiveLearningDataset(train_set)
active_dataset.label_randomly(10)
print(active_dataset[0])

Output:

activelearning dataset <baal.active.dataset.pytorch_dataset.ActiveLearningDataset object at 0x7f679f85ca30>```

**Vesion (please complete the following information):**
 - OS: _
 - Python: 3.8
 - BaaL version: 1.5.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants