Vchitect / SEINE

[ICLR 2024] SEINE: Short-to-Long Video Diffusion Model for Generative Transition and Prediction
https://vchitect.github.io/SEINE-project/
Apache License 2.0
915 stars 64 forks source link

AttributeError #6

Closed waternight1029 closed 11 months ago

waternight1029 commented 11 months ago

When I try python sample_scripts/with_mask_sample.py --config configs/sample_i2v.yaml

Traceback (most recent call last): File "C:\Users\xxxx\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\diffusers\configuration_utils.py", line 106, in register_to_config setattr(self, key, value) File "C:\Users\xxxx\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\torch\nn\modules\module.py", line 1723, in setattr raise AttributeError( AttributeError: cannot assign module before Module.init() call

Another one: AttributeError: 'Transformer3DModel' object has no attribute '_modules'

maxin-cn commented 11 months ago

When I try python sample_scripts/with_mask_sample.py --config configs/sample_i2v.yaml

Traceback (most recent call last): File "C:\Users\xxxx\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\diffusers\configuration_utils.py", line 106, in register_to_config setattr(self, key, value) File "C:\Users\xxxx\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\torch\nn\modules\module.py", line 1723, in setattr raise AttributeError( AttributeError: cannot assign module before Module.init() call

Another one: AttributeError: 'Transformer3DModel' object has no attribute '_modules'

@waternight1029 Hi, the diffusers version you installed may not be the same as the diffusers version we tested. Please check your diffusers version.

waternight1029 commented 11 months ago

It works! Thank you so much!