You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/host/home/yanai-lab/Sotsuken24/xiong-p/test/Practical-RIFE/inference_video.py", line 115, in
lastframe = next(videogen)
^^^^^^^^^^^^^^
File "/home/yanai-lab/xiong-p/miniconda3/envs/RIFE/lib/python3.11/site-packages/skvideo/io/io.py", line 251, in vreader
reader = FFmpegReader(fname, inputdict=inputdict, outputdict=outputdict, verbosity=verbosity)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/yanai-lab/xiong-p/miniconda3/envs/RIFE/lib/python3.11/site-packages/skvideo/io/ffmpeg.py", line 103, in init
self.inputfps = np.float(parts[0])/np.float(parts[1])
^^^^^^^^
File "/home/yanai-lab/xiong-p/miniconda3/envs/RIFE/lib/python3.11/site-packages/numpy/init.py", line 324, in getattr
raise AttributeError(former_attrs[attr])
AttributeError: module 'numpy' has no attribute 'float'. np.float was a deprecated alias for the builtin float. To avoid this error in existing code, use float by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use np.float64 here.
The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations. Did you mean: 'cfloat'?
The text was updated successfully, but these errors were encountered:
Traceback (most recent call last):
File "/host/home/yanai-lab/Sotsuken24/xiong-p/test/Practical-RIFE/inference_video.py", line 115, in
lastframe = next(videogen)
^^^^^^^^^^^^^^
File "/home/yanai-lab/xiong-p/miniconda3/envs/RIFE/lib/python3.11/site-packages/skvideo/io/io.py", line 251, in vreader
reader = FFmpegReader(fname, inputdict=inputdict, outputdict=outputdict, verbosity=verbosity)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/yanai-lab/xiong-p/miniconda3/envs/RIFE/lib/python3.11/site-packages/skvideo/io/ffmpeg.py", line 103, in init
self.inputfps = np.float(parts[0])/np.float(parts[1])
^^^^^^^^
File "/home/yanai-lab/xiong-p/miniconda3/envs/RIFE/lib/python3.11/site-packages/numpy/init.py", line 324, in getattr
raise AttributeError(former_attrs[attr])
AttributeError: module 'numpy' has no attribute 'float'.
np.float
was a deprecated alias for the builtinfloat
. To avoid this error in existing code, usefloat
by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, usenp.float64
here.The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at:
https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations. Did you mean: 'cfloat'?
The text was updated successfully, but these errors were encountered: