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

Improper Dataset Extraction when Tilde In path #295

Open
DRosen766 opened this issue Dec 10, 2024 · 3 comments
Open

Improper Dataset Extraction when Tilde In path #295

DRosen766 opened this issue Dec 10, 2024 · 3 comments

Comments

@DRosen766
Copy link

When a tilde (~) is used in the extraction path passed to the dataset constructor, the dataset will not be properly extracted and will yield an object with no records.

Example:

This works:
testset = tonic.datasets.DVSGesture(save_to="./data", train=False)

But this wont:
testset = tonic.datasets.DVSGesture(save_to="~/SNN_DVSGesture/data", train=False)

printing it returns 0:
Screenshot 2024-12-09 at 7 36 49 PM

@biphasic
Copy link
Member

which platform is this? Mac or Linux?

@DRosen766
Copy link
Author

which platform is this? Mac or Linux?

I have encountered it on both.
I think I found the bug and working on fixing it.

@DRosen766
Copy link
Author

Submitted PR for this issue here

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