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

I have got this erros when trying to test your model. I have followed the path to create the manifest.csv #2

Open
navarmn opened this issue Nov 12, 2018 · 1 comment

Comments

@navarmn
Copy link

navarmn commented Nov 12, 2018

Traceback (most recent call last):
File "test.py", line 49, in
dataset = AudioDataset(args.data_dir, args.manifest, transforms=transforms, target_transforms=target_transforms)
File "/workspace/codes/data.py", line 30, in init
if zipfile.is_zipfile(self.data_dir):
File "/opt/conda/lib/python3.7/zipfile.py", line 180, in is_zipfile
with open(filename, "rb") as fp:
TypeError: expected str, bytes or os.PathLike object, not NoneType

@igormq
Copy link
Owner

igormq commented Dec 17, 2018

It seems that you are not setting correctly the flag --data-dir. :)

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