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

Training failed. Failed to create trained image after successful training run. #308

Closed
khenzo opened this issue Jun 12, 2024 · 5 comments
Closed

Comments

@khenzo
Copy link

khenzo commented Jun 12, 2024

Hi,
after a pair of successful training (SDXL), all my trainings are ending with this message: "Training failed. Failed to create trained image after successful training run."

I've tried to create a new destination model and create a new API Token to start the creation using the Nodejs Client Library.
I've started a dozen of trainings using the web interface but the response is always the same.

Can someone please have a look into this?

Thank you very much!

@mattt
Copy link
Contributor

mattt commented Jun 17, 2024

Hi @khenzo. Can you please share a link to a failed training? Any code you can share would also be helpful for understanding what the problem might be.

@mattt
Copy link
Contributor

mattt commented Jul 5, 2024

Closing this for now. Happy to reopen if you can share more information to troubleshoot this.

@MaryBIZCO
Copy link

HI
I HAVE THE SAME PROBLEM
ANY ADVICE PLEASE

@MaryBIZCO
Copy link

Training failed.

Prediction input failed validation: {"detail":[{"loc":["body","input","images"],"msg":"'' is not a valid URL scheme. 'data', 'http', or 'https' is supported.","type":"value_error"}]}

@MaryBIZCO
Copy link

{
"completed_at": "2024-10-20T18:23:35.925477Z",
"created_at": "2024-10-20T18:23:35.920000Z",
"data_removed": false,
"error": "Prediction input failed validation: {"detail":[{"loc":["body","input","images"],"msg":"'' is not a valid URL scheme. 'data', 'http', or 'https' is supported.","type":"value_error"}]}",
"id": "9es8e34zy1rj20cjncns14fny4",
"input": {
"steps": 1000,
"images": "marymway",
"repo_id": "marymway/flux.1-dev-lora",
"hf_token": "[REDACTED]",
"batch_size": 1,
"model_name": "marymway/flux.1-dev",
"resolution": "512,768,1024",
"lora_linear": 16,
"learning_rate": 0.0004,
"lora_linear_alpha": 16
},
"logs": null,
"metrics": {
"total_time": 0.005477
},
"output": null,
"started_at": "2024-10-20T18:23:35.925477Z",
"status": "failed",
"urls": {
"get": "https://api.replicate.com/v1/trainings/9es8e34zy1rj20cjncns14fny4",
"cancel": "https://api.replicate.com/v1/trainings/9es8e34zy1rj20cjncns14fny4/cancel"
},
"version": "06e50f60983aa9ad9e4c13ba1d56ee235925ee6bd1c604d94c26a3322aeb8d47"
}

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

3 participants