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

boolean index did not match indexed array along dimension 2; dimension is 3 but corresponding boolean dimension is 5 #214

Open
XXXXemberXXXX opened this issue Jun 25, 2024 · 1 comment

Comments

@XXXXemberXXXX
Copy link

Hi guys,when i run this project, some error shows like this,how can i fix this?

(3DP) PS C:\Users\Demo\Desktop\3d-photo-inpainting-master> python main.py --config argument.yml running on device 0 0%| | 0/1 [00:00<?, ?it/s]Current Source ==> moon Running depth extraction at 1719302307.669649 BoostingMonocularDepth\outputs\*.png 0%| | 0/1 [00:00<?, ?it/s] Traceback (most recent call last): File "main.py", line 76, in <module> vis_photos, vis_depths = sparse_bilateral_filtering(depth.copy(), image.copy(), config, num_iter=config['sparse_iter'], spdb=False) File "C:\Users\Demo\Desktop\3d-photo-inpainting-master\bilateral_filtering.py", line 31, in sparse_bilateral_filtering vis_image[u_over > 0] = np.array([0, 0, 0]) IndexError: boolean index did not match indexed array along dimension 2; dimension is 3 but corresponding boolean dimension is 5

@67L1
Copy link

67L1 commented Oct 10, 2024

is it working now? i met the same problem.

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