-
Notifications
You must be signed in to change notification settings - Fork 1.6k
PythonHashseed error solved #992
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
base: main
Are you sure you want to change the base?
Conversation
Solved the retrain error of Python Hashseed
Hi @TalhaFaredi could you provide the detailed error message? And also some explanations for "consecutive training sessions" since no previous report of such an error. The current version is done explicitly like: F5-TTS/src/f5_tts/train/finetune_gradio.py Line 998 in 178cb8a
|
Consecutive training sessions refers to where a model performs well during the initial training. However, if a user attempts to create a new project within the same running application and try to train it as well, it results in an error. This issue is temporarily resolved by restarting the app. After restarting, fine-tuning typically works again — but only for the first attempt. The Attached Screenshoot is the error at current time The Detailed error is below Generating audio in 1 batches... Fatal Python error: config_init_hash_seed: PYTHONHASHSEED must be "random" or an integer in range [0; 4294967295] |
I just test with same running gradio application (no restart) Create 1st project -> train -> stop train (pause) Nothing wrong. Maybe you could provide detailed process about how to reproduce your error (describe every step you done) |
First I Go to Google Colab
It took a lot to solve , i have tested it on colab and amazon ec2 with same error but after my solution it works perfect |
Have you waited for a short training finished or clicked on "Stop Training" or just left it training there? |
try print out |
I have Already printed PYTHONHASHSEED value and trying echo that. Main issue was that after training the Hashseed value didn't updated , so i set the value while sending it to cli file . and it works really well and retraining starts |
so what is the value |
Resolved the retraining issue caused by Pythonhashseed error. Previously, the model would throw an error during consecutive training sessions. Now, users can retrain the model multiple times within the same session without any issues.