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

Fine-tune error when using SageMaker Training job #24

Open
snowolf opened this issue Mar 22, 2023 · 0 comments
Open

Fine-tune error when using SageMaker Training job #24

snowolf opened this issue Mar 22, 2023 · 0 comments

Comments

@snowolf
Copy link
Contributor

snowolf commented Mar 22, 2023

Hi,

Here I met an error when using sagemaker training job to finetune model.

Traceback (most recent call last): File "/opt/ml/code/train_dreambooth.py", line 1301, in <module> inference_samples(args.instance_prompt) File "/opt/ml/code/train_dreambooth.py", line 88, in inference_samples [img.save](http://img.save/)(f"/opt/ml/model/samples/sample-{count}.jpg") File "/opt/conda/lib/python3.9/site-packages/PIL/Image.py", line 2317, in save fp = [builtins.open](http://builtins.open/)(filename, "w+b") FileNotFoundError: [Errno 2] No such file or directory: '/opt/ml/model/samples/sample-1.jpg'

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

1 participant