-
Notifications
You must be signed in to change notification settings - Fork 100
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
Script deletes files and subfolders on my machine #77
Comments
Hey @BirgerMoell, sorry to hear that you lost some files 😥 This behaviour looks to be a combination of a couple of things:
So what you can do is run the script from within a new model repo or set |
I got most of the stuff back through git but I seemed a bit unexpected so I just wanted to report it to make sure it behaved as it was intendent. |
For sure! Thanks for reporting it! I'll have a look to see if there's a way we can avoid this in the future (potentially being more explicit in the text?) |
(It will only do a full wipe if the output dir is not a HF repo: |
I tried running the following script and it deletes all the files and folders in my current working directory.
https://github.com/huggingface/community-events/tree/main/whisper-fine-tuning-event#python-script
There is a --overwrite_output_dir \ flag but I'm guessing the behaviour should be to delete a folder inside the current working directory, not all the files in the folder.
There should probably be a way to rewrite this since deleting folders and subfolders on someones computer is dangerous and I trusted the code and let it run on my computer.
The text was updated successfully, but these errors were encountered: