Closed JunyuanDeng closed 1 year ago
@JunyuanDeng Just passing through. The error
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
happens when you check if a numpy array is true, which doesnt make sense. How can an array be True, one should convert array of bool to bool?
Now, you are getting error here if kwargs.get('color', None):
, which means kwargs has color key with a numpy array as value. This is causing the problem. But this code is of matplotlib, not sparf
The sparf code which calls matplotlib is:-
ax1.scatter(cam[i,5,0],cam[i,5,1],cam[i,5,2],color=c,s=40)
which also looks fine.
Digging deeper into matplotlib and looks like a recent change broke this - https://github.com/matplotlib/matplotlib/issues/26821
Maybe downgrade or upgrade matplotlib.
P.S. @ PruneTruong - Nice work. Following this repo to have fun when I have bigger gpu. :)
@saurabheights Thanks for your help! I will try it later!
Thanks for your great job! I encountered a bug when I test on llff dataset:
Could you please provide some ideas to solve it?