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

Sample problem #2

Open
Simin-Du opened this issue Dec 15, 2024 · 1 comment
Open

Sample problem #2

Simin-Du opened this issue Dec 15, 2024 · 1 comment

Comments

@Simin-Du
Copy link

Thanks for the great work! One question is that when I run the sampling task, I meet some problems. Below is the detail:

created 0 samples
[rank2]: Traceback (most recent call last):
[rank2]: File ".../DiffusionBridge-main/sample.py", line 204, in
[rank2]: main()
[rank2]: File ".../DiffusionBridge-main/sample.py", line 157, in main
[rank2]: arr = np.concatenate(all_images, axis=0)
[rank2]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[rank2]: ValueError: need at least one array to concatenate

Can you help me to solve this problem. Thanks a lot.

@zhengkw18
Copy link
Collaborator

It seems that no images were created during the sampling process.

The sampling script requires accessing the dataset to read the conditions. Did you process the dataset properly? Could you check whether len(dataloader.dataset) >0?

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

2 participants