astriaai / headshots-starter

https://headshots-starter.vercel.app
MIT License
3.56k stars 575 forks source link

THhe models keep training forever. #108

Closed oceands closed 3 months ago

oceands commented 3 months ago

Hey after deployment and testing strip I noticed that all the models are still in training and Resend is not being used at all. However, Astria has already generated the Images on the platform.

Please is any assistance would be greatly appreciated.

Screenshot 2024-04-05 142843 This is the screen where the models are training

Screenshot 2024-04-05 143104 These are the output's on the Astria platform

fred3105 commented 3 months ago

Hey, having the same issue, I believe this is a problem with the callback from Astria, I've tried contacting them but no answer, let me know if you find a fix

I've been trying to setup a cron job to fetch the status every now and then as a backup, still working on that

oceands commented 3 months ago

Hey, having the same issue, I believe this is a problem with the callback from Astria, I've tried contacting them but no answer, let me know if you find a fix

I've been trying to setup a cron job to fetch the status every now and then as a backup, still working on that

Can you show me how your code base looks?

fred3105 commented 3 months ago

The body for my request looks like this

const body = { tune: { title: name, base_tune_id: 690204, name: type, branch: astriaTestModeIsOn ? "fast" : "sd15", token: "ohwx", image_urls: images, callback: trainWebhookWithParams, prompts_attributes: [ { text: "some prompt", callback: promptWebhookWithParams, super_resolution: true, inpaint_faces: true, num_images: 1, }, { text: "some other prompt", callback: promptWebhookWithParams, num_images: 1, }, //rest of prompts ], }, };

The model is generated just fine and the images appear on astria but I never get any call back, I've also tried simplifying the callback URL to make sure special characters were not the issue but that didn't work

oceands commented 3 months ago

The problem is with Vercel Authentication that must be turned off from the Vercel settings. Closing this issue.