snap-research / articulated-animation

Code for Motion Representations for Articulated Animation paper
https://snap-research.github.io/articulated-animation/
Other
1.21k stars 348 forks source link

error when training avd with videos #59

Open surfingnirvana opened 1 year ago

surfingnirvana commented 1 year ago

I get this error when trying to train with videos. The standard training does work with training videos. Training avd with .png is fine. When switching to avd mode there is this error:

File "C:\NEURAL\articulated-animation\train_avd.py", line 75, in train_avd source = x['source'][:6].cuda() UnboundLocalError: local variable 'x' referenced before assignment

When the background is static, do i just have to set bg_type: 'zero'?

hacker009-sudo commented 8 months ago

@surfingnirvana , I am facing the same issue. Did you get any solution?

@AliaksandrSiarohin, please guide how to resolve this issue.