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

After Infer.py : the result is the only black picture. What is the problem? #95

Open
Ratatou2 opened this issue Feb 6, 2024 · 0 comments

Comments

@Ratatou2
Copy link

Ratatou2 commented Feb 6, 2024

I try this cods

CUDA_VISIBLE_DEVICES=1 python train.py --experiment_dir=experiment
--experiment_id=0
--batch_size=32
--lr=0.001
--epoch=30
--sample_steps=100
--schedule=10
--L1_penalty=100
--Lconst_penalty=15

=> I can confirm that my model was trained correctly through the sample picture

CUDA_VISIBLE_DEVICES=1 python infer.py --model_dir=/home/zi2zi/experiment/checkpoint/experiment_0_batch_32
--batch_size=32
--source_obj=/home/zi2zi/experiment/data/val.obj
--embedding_ids=1
--save_dir=save_dir/

=> After executing infer.py, the 'save_dir' was filled with only black pictures....

do u know why??

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