Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lib collab error #198

Open
MinecrafterGirl40 opened this issue Aug 13, 2023 · 1 comment
Open

lib collab error #198

MinecrafterGirl40 opened this issue Aug 13, 2023 · 1 comment

Comments

@MinecrafterGirl40
Copy link

I keep getting this error:

AttributeError Traceback (most recent call last)
in <cell line: 4>()
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'

@Yaroster
Copy link

Got the same

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants