FlashVideo icon indicating copy to clipboard operation
FlashVideo copied to clipboard

missing sat.model

Open frozoul opened this issue 1 year ago • 3 comments

Hello, thank you for open-sourcing such an excellent work !

But when I run sat/demo.ipynb, an error will be reported at the line from sat.model.base_model import get_model, prompting that sat.model cannot be found. I see that there is indeed no model folder in the sat, and there is no get_model function in the base_model file. Is it because a file was uploaded missing?

frozoul avatar Feb 11 '25 05:02 frozoul

Indeed, there seems to be a confusion over the sat reference. Here, sat points to the module in the environment, corresponding to SwissArmyTransformer>=0.4.12 in the requirements. Have you executed pip install -r requirements? Feel free to comment here if you continue to face issues.

To avoid this confusion for more people, I may consider renaming the folder to flashvideo. Thanks for your feedback

jshilong avatar Feb 11 '25 06:02 jshilong

Thank you for your reply. I installed the dependencies according to the requirements, but I moved the demo file out of the sat folder and executed it, which caused the problem. If it is in the sat folder, it will be normal.

frozoul avatar Feb 11 '25 06:02 frozoul

Indeed, the naming of the 'sat' folder in CogVideoX can be confusing. It is something I should address to improve clarity.

jshilong avatar Feb 11 '25 06:02 jshilong