Closed Q8sh2ing closed 11 months ago
i am currently running the code on colab and this error pop-out during inference
/content/GMFSS_Fortuna/AFI-ForwardDeduplicate Traceback (most recent call last): File "/content/GMFSS_Fortuna/AFI-ForwardDeduplicate/interpolate_video_forward.py", line 66, in scene_detection = SvfiTransitionDetection(save, 4, File "/content/GMFSS_Fortuna/AFI-ForwardDeduplicate/Utils_scdet/scdet.py", line 239, in init from Utils_scdet.utils import Tools File "/content/GMFSS_Fortuna/AFI-ForwardDeduplicate/Utils_scdet/utils.py", line 26, in from skvideo.utils import startupinfo ImportError: cannot import name 'startupinfo' from 'skvideo.utils' (/usr/local/lib/python3.10/dist-packages/skvideo/utils/init.py)
. below are the packages installed Requirement already satisfied: scikit-video in /usr/local/lib/python3.10/dist-packages (1.1.11) Requirement already satisfied: numpy in /usr/local/lib/python3.10/dist-packages (from scikit-video) (1.23.5) Requirement already satisfied: pillow in /usr/local/lib/python3.10/dist-packages (from scikit-video) (9.4.0) Requirement already satisfied: scipy in /usr/local/lib/python3.10/dist-packages (from scikit-video) (1.11.3)
startupinfo is for windows only just remove line 26 (from skvideo.utils import startupinfo) and run
i am currently running the code on colab and this error pop-out during inference /content/GMFSS_Fortuna/AFI-ForwardDeduplicate Traceback (most recent call last): File "/content/GMFSS_Fortuna/AFI-ForwardDeduplicate/interpolate_video_forward.py", line 66, in scene_detection = SvfiTransitionDetection(save, 4, File "/content/GMFSS_Fortuna/AFI-ForwardDeduplicate/Utils_scdet/scdet.py", line 239, in init from Utils_scdet.utils import Tools File "/content/GMFSS_Fortuna/AFI-ForwardDeduplicate/Utils_scdet/utils.py", line 26, in from skvideo.utils import startupinfo ImportError: cannot import name 'startupinfo' from 'skvideo.utils' (/usr/local/lib/python3.10/dist-packages/skvideo/utils/init.py) . below are the packages installed Requirement already satisfied: scikit-video in /usr/local/lib/python3.10/dist-packages (1.1.11) Requirement already satisfied: numpy in /usr/local/lib/python3.10/dist-packages (from scikit-video) (1.23.5) Requirement already satisfied: pillow in /usr/local/lib/python3.10/dist-packages (from scikit-video) (9.4.0) Requirement already satisfied: scipy in /usr/local/lib/python3.10/dist-packages (from scikit-video) (1.11.3)
startupinfo is for windows only just remove line 26 (from skvideo.utils import startupinfo) and run
thanks, the code now works perfectly.
Thanks for your colab implementation, I will add it to the project page
i am currently running the code on colab and this error pop-out during inference
/content/GMFSS_Fortuna/AFI-ForwardDeduplicate Traceback (most recent call last): File "/content/GMFSS_Fortuna/AFI-ForwardDeduplicate/interpolate_video_forward.py", line 66, in
scene_detection = SvfiTransitionDetection(save, 4,
File "/content/GMFSS_Fortuna/AFI-ForwardDeduplicate/Utils_scdet/scdet.py", line 239, in init
from Utils_scdet.utils import Tools
File "/content/GMFSS_Fortuna/AFI-ForwardDeduplicate/Utils_scdet/utils.py", line 26, in
from skvideo.utils import startupinfo
ImportError: cannot import name 'startupinfo' from 'skvideo.utils' (/usr/local/lib/python3.10/dist-packages/skvideo/utils/init.py)
. below are the packages installed Requirement already satisfied: scikit-video in /usr/local/lib/python3.10/dist-packages (1.1.11) Requirement already satisfied: numpy in /usr/local/lib/python3.10/dist-packages (from scikit-video) (1.23.5) Requirement already satisfied: pillow in /usr/local/lib/python3.10/dist-packages (from scikit-video) (9.4.0) Requirement already satisfied: scipy in /usr/local/lib/python3.10/dist-packages (from scikit-video) (1.11.3)