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

[FEAT] Report missing sample file #227

Closed
shlanger opened this issue Jun 2, 2020 · 3 comments
Closed

[FEAT] Report missing sample file #227

shlanger opened this issue Jun 2, 2020 · 3 comments
Labels
enhancement New feature or request

Comments

@shlanger
Copy link

shlanger commented Jun 2, 2020

🚀 Feature Request

Report missing sample file. If I make a typo, the file name in the samples section may not match the file name in my samples generation command. Merlin responds by silently not doing anything. I think it would be better to say "Sample file my_samples_1024.npy not found" or something of that sort.

@shlanger shlanger added the enhancement New feature or request label Jun 2, 2020
@ben-bay
Copy link
Contributor

ben-bay commented Jun 3, 2020

@shlanger can you give us more details on how to duplicate this? Feel free to edit the text body of this issue.

EDIT: I think I understand, will look at fixing this

@shlanger
Copy link
Author

shlanger commented Jun 3, 2020 via email

@ben-bay ben-bay changed the title [FEAT] Report missing sample file. If I make a typo, the file name in the samples section may not match the file name in my samples generation command. Merlin responds by silently not doing anything. I think it would be better to say "Sample file my_samples_1024.npy not found" or something of that sort. [FEAT] Report missing sample file Jun 8, 2020
@ben-bay
Copy link
Contributor

ben-bay commented Jun 8, 2020

@shlanger When I run this (using feature_demo and changing the samples filename) in merlin 1.6.1, I get the error:

[2020-06-08 13:08:35: ERROR] [Errno 2] No such file or directory: 'feature_demo_20200608-130832/merlin_info/samples.npy'

...which seems like the right error to me.

@ben-bay ben-bay closed this as completed Aug 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants