При попытке запустить программу PIFuHD в Google Colab выдаёт ошибку.
Вот:
AttributeError
Traceback (most recent call last)
in ()
2
3 renderer = set_renderer()
--> 4 generate_video_from_obj (obj_path, out_img_path, video_path, renderer)
5
5 # we cannot play a mp4 video generated by cv2
/content/pifuhd/lib/colab_util.py in generate_video_from_obj (obj_path, image_path, video_path, renderer) 99 def generate_video_from_obj (obj_path, image_path, video path, renderer):
100
input_image cv2.imread(image_path) input_image input_image[:,: input_image, shape[1]//3]
101 102
input_image = cv2.resize(input_image, (512,512))
103
AttributeError: 'NoneType' object has no attribute 'shape'
-
Вопрос задан
-
242 просмотра