ModuleNotFoundError: No module named 'numba.decorators'
conda install numba==0.48
TypeError: unsupported operand type(s) for /: 'Dimension' and 'int'
change: reshaped = tf.reshape(pose_batch, (-1, 64, 2, shape[-1]/2))
to: reshaped = tf.reshape(pose_batch, (-1, 64, 2, shape[-1].value/2))
TypeError: Value passed to parameter 'shape' has DataType float32 not in list of allowed values: int32, int64
change: reshaped = tf.reshape(pose_batch, (-1, 64, 2, shape[-1].value/2))
to: reshaped = tf.reshape(pose_batch, (-1, 64, 2, int(shape[-1].value/2)))
DataLossError (see above for traceback): Unable to open table file /media/data/study/AI/speech2gesture/rock-20210114T070036Z-001/rock/ckpt-step-296700.ckp.data-00000-of-00001: Data loss: not an sstable (bad magic number): perhaps your file is in a different file format and you need to use a different restore operator?
[[Node: save/RestoreV2 = RestoreV2[dtypes=[DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, ..., DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT], _device="/job:localhost/replica:0/task:0/device:CPU:0"](_arg_save/Const_0_0, save/RestoreV2/tensor_names, save/RestoreV2/shape_and_slices)]]
change: --checkpoint '/media/data/study/AI/speech2gesture/rock-20210114T070036Z-001/rock/'
to: --checkpoint '/media/data/study/AI/speech2gesture/rock-20210114T070036Z-001/rock/ckpt-step-296700.ckp'
-- not *.ckp.(index|meta|data)
You will have to change the paths
How to run:
/home/vali/system/apps/anaconda3/envs/x/bin/python -m audio_to_multiple_pose_gan.predict_audio --audio_path '/media/data/study/AI/speech2gesture/History of Rock, Part 1 by University of Rochester-6IdXEOdRxPs.wav' --output_path '/media/data/study/AI/speech2gesture/tmp/' --checkpoint '/media/data/study/AI/speech2gesture/rock-20210114T070036Z-001/rock/ckpt-step-296700.ckp' --speaker rock -ag audio_to_pose_gans --gans 1
Installing packages: conda env create x python=3.6 conda activate x conda install --file requi* -y
Download audio: youtube-dl https://www.youtube.com/watch?v=6IdXEOdRxPs -x --audio-format wav
Errors and solutions:
ModuleNotFoundError: No module named 'numba.decorators' conda install numba==0.48
TypeError: unsupported operand type(s) for /: 'Dimension' and 'int' change: reshaped = tf.reshape(pose_batch, (-1, 64, 2, shape[-1]/2)) to: reshaped = tf.reshape(pose_batch, (-1, 64, 2, shape[-1].value/2))
TypeError: Value passed to parameter 'shape' has DataType float32 not in list of allowed values: int32, int64 change: reshaped = tf.reshape(pose_batch, (-1, 64, 2, shape[-1].value/2)) to: reshaped = tf.reshape(pose_batch, (-1, 64, 2, int(shape[-1].value/2)))
DataLossError (see above for traceback): Unable to open table file /media/data/study/AI/speech2gesture/rock-20210114T070036Z-001/rock/ckpt-step-296700.ckp.data-00000-of-00001: Data loss: not an sstable (bad magic number): perhaps your file is in a different file format and you need to use a different restore operator? [[Node: save/RestoreV2 = RestoreV2[dtypes=[DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, ..., DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT], _device="/job:localhost/replica:0/task:0/device:CPU:0"](_arg_save/Const_0_0, save/RestoreV2/tensor_names, save/RestoreV2/shape_and_slices)]]
change: --checkpoint '/media/data/study/AI/speech2gesture/rock-20210114T070036Z-001/rock/' to: --checkpoint '/media/data/study/AI/speech2gesture/rock-20210114T070036Z-001/rock/ckpt-step-296700.ckp' -- not *.ckp.(index|meta|data)
You will have to change the paths How to run: /home/vali/system/apps/anaconda3/envs/x/bin/python -m audio_to_multiple_pose_gan.predict_audio --audio_path '/media/data/study/AI/speech2gesture/History of Rock, Part 1 by University of Rochester-6IdXEOdRxPs.wav' --output_path '/media/data/study/AI/speech2gesture/tmp/' --checkpoint '/media/data/study/AI/speech2gesture/rock-20210114T070036Z-001/rock/ckpt-step-296700.ckp' --speaker rock -ag audio_to_pose_gans --gans 1