facebookresearch / pifuhd

High-Resolution 3D Human Digitization from A Single Image.
Other
9.49k stars 1.44k forks source link

Without changing anything I get an attribute error #154

Open jdenn3 opened 2 years ago

jdenn3 commented 2 years ago

I haven't changed anything, just click run following along with a video, and it's happened after I refreshed the page. I get the same error under render the result, copied and pasted here:

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 6 # 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) --> 101 input_image = input_image[:,:input_image.shape[1]//3] 102 input_image = cv2.resize(input_image, (512,512)) 103 AttributeError: 'NoneType' object has no attribute 'shape'
MontyMole98 commented 2 years ago

I have the same problem. I've used the notebook before though, so it's strange

MontyMole98 commented 2 years ago

Check this issue out:

https://github.com/facebookresearch/pifuhd/issues/7