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

'Namespace' object has no attribute 'report_to' #361

Closed
co63oc opened this issue Dec 24, 2023 · 1 comment
Closed

'Namespace' object has no attribute 'report_to' #361

co63oc opened this issue Dec 24, 2023 · 1 comment

Comments

@co63oc
Copy link
Contributor

co63oc commented Dec 24, 2023

https://github.com/PaddlePaddle/PaddleMIX/blob/develop/ppdiffusers/examples/unconditional_image_generation/README.md

python -u -m paddle.distributed.launch --gpus "0"  train_unconditional.py \
  --dataset_name="huggan/flowers-102-categories" \
  --cache_dir 'data' \
  --resolution=64 --center_crop --random_flip \
  --output_dir="ddpm-ema-flowers-64" \
  --train_batch_size=16 \
  --num_epochs=100 \
  --gradient_accumulation_steps=1 \
  --use_ema \
  --learning_rate=1e-4 \
  --lr_warmup_steps=500

运行到1000时错误
'Namespace' object has no attribute 'report_to'

image

@JunnYu
Copy link
Member

JunnYu commented Jan 18, 2024

这是一个bug,写的时候argument parser没有加report_to,你可以提一个PR修复一下

@co63oc co63oc mentioned this issue Jan 19, 2024
@co63oc co63oc closed this as completed Jan 19, 2024
JunnYu pushed a commit that referenced this issue Jan 26, 2024
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