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

TypeError: vqvae_evaluation() got multiple values for argument 'eval_wrapper' #23

Open
XzhouCodespace opened this issue Sep 27, 2024 · 0 comments

Comments

@XzhouCodespace
Copy link

I get this error when I am training with train_vqvae. Can you please tell me what is going on.

/home/kemove/code/MotionGPT/train_vqvae.py:156 in │
│ │
│ 153 │
│ 154 │
│ 155 if name == 'main': │
│ ❱ 156 │ main() │
│ 157 │
│ │
│ /home/kemove/code/MotionGPT/train_vqvae.py:117 in main │
│ │
│ 114 │ │ │ avg_recons, avg_perplexity, avg_commit = 0., 0., 0. │
│ 115 │ │
│ 116 │ avg_recons, avg_perplexity, avg_commit = 0., 0., 0. │
│ ❱ 117 │ best_fid, best_div, best_top1, best_top2, best_top3, best_matching, writer, logger = │
│ 118 │ │
│ 119 │ for nb_iter in range(1, args.total_iter + 1): │
│ 120 │ │ gt_motion = next(train_loader_iter) │
│ │
│ /home/kemove/anaconda3/envs/motiongptnew/lib/python3.9/site-packages/torch/utils/_contextlib.py: │
│ 115 in decorate_context │
│ │
│ 112 │ @functools.wraps(func) │
│ 113 │ def decorate_context(*args, **kwargs): │
│ 114 │ │ with ctx_factory(): │
│ ❱ 115 │ │ │ return func(*args, **kwargs) │
│ 116 │ │
│ 117 │ return decorate_context

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