-
Notifications
You must be signed in to change notification settings - Fork 145
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
LocalDataset bug #300
Comments
Hi @tungdq212, thanks for identifying the issue in |
@karan6181 I created a PR. But why we need Array beside pytorch Dataset in LocalDataset? |
Thanks for the PR! You have some kind of linting error. You can do something like this:
The Array base class just provides fancy numpy-style indexing (https://github.com/mosaicml/streaming/blob/main/streaming/base/array.py#L78) |
@karan6181 Hi, I have more questions:
|
To use a local dataset with
In the particular case of why we import
That could definitely be a problem, but we are unable to tell without the code in question. Please file a bug with repro if the problem is on our side. |
@knighton thanks for ur quick response,
And build train and val dataloader with config:
It raise error:
If a add
I use code in diffusion repo. |
LocalDataset Bug
streaming.base.LocalDataset
need overridesize
functionThe text was updated successfully, but these errors were encountered: