pytti-tools / pytti-core

https://pytti-tools.github.io/pytti-book/intro.html
MIT License
78 stars 23 forks source link

problem with 3D animation after update #198

Closed CuchulainnPrimus closed 2 years ago

CuchulainnPrimus commented 2 years ago

Since the update last night I have a problem generating 3D animation. Already tried removing everything on the google drive, and rerunning it, but that didn't work. Here is the error message I get:

/usr/local/lib/python3.7/dist-packages/pytti/LossAug/OpticalFlowLossClass.py in set_last_step(self, last_step_pil, device) 168 """ 169 if device is None: --> 170 device = getattr(self, "device", last_step_pil.device) 171 last_step = ( 172 TF.to_tensor(last_step_pil)

AttributeError: 'Image' object has no attribute 'device'

dmarx commented 2 years ago

thanks for reporting this bug! I just pushed a change that should fix this, let me know if it works. if it doesn't, try factory resetting the colab instance to re-install with the latest version of the codebase.

dmarx commented 2 years ago

also, could you share your settings? this wasn't caught in my tests and I'd like to see if I can use your settings to identify the gap in test coverage.

CuchulainnPrimus commented 2 years ago

That was quick! It is working again now, thanks rose(3)_settings.txt !