Open dtbaker opened 5 months ago
I haven't tested it, but based on their guide, this should work:
upload = Replicate.client.upload_zip('tmp/data.zip') # replace with the path to your zip file
training = Replicate.client.create_training(
version: "stability-ai/sdxl:39ed52f2a78e934b3ba6e2a89f5b1c712de7dfea535525255b1aa35c5565e08b",
input: {
input_images: upload.serving_url,
},
destination: 'yourusername/yourmodel'
)
I tried to create a new training with the above code. Unfortunately it didn't work:
400 Bad Request: {"detail"=>"model not specified"}
I'm wondering if the SDXL training follows a similar pattern to the dreambooth training?
Would it be easy to add in?
https://replicate.com/stability-ai/sdxl/train