aws-samples / aws-samples/sagemaker-stablediffusion-quick-kit

No such file or directory: '/opt/ml/model/samples/sample-1.jpg'

Open
#30 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
90
Forks
43
PR merge metrics
No merged PRs in 30d

Description

At the end of training. When the inference_samples function is called I get this error.

Traceback (most recent call last):
File "/opt/ml/code/train_dreambooth.py", line 1301, in
inference_samples(args.instance_prompt)
File "/opt/ml/code/train_dreambooth.py", line 88, in inference_samples
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(filename, "w+b")

No such file or directory: '/opt/ml/model/samples/sample-1.jpg'

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.