Skip to content

Conversation

Yazangthb
Copy link

Dataset loading was giving this error:
NotImplementedError: Loading a dataset cached in a LocalFileSystem is not supported

This was solved by simply adding :
pip install -U datasets

Also another error was encountered when passing input_boxes to the preprocesser:
inputs = processor(image, input_boxes=[input_boxes], return_tensors="pt").to(device)
ValueError: Input boxes must be a list of list of list of floating points.

Which was solved by adding an extra square brackets
inputs = processor(image, input_boxes=[[input_boxes]], return_tensors="pt").to(device)

Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

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

Successfully merging this pull request may close these issues.

1 participant