deepgoyal19 / Corner-Detection-and-Edge-Detection-in-Point-Clouds

Machine Learning use in edge and corner detection in point clouds
MIT License
6 stars 0 forks source link

ValueError: min_samples must be no greater than the number of samples (1). Got 2 #2

Open piw-bot opened 3 months ago

piw-bot commented 3 months ago

when I try to run this Cell:

`wireframe=np.empty((1,10)) for result in results: temp=result wireframe=np.concatenate((wireframe,np.array(temp)),axis=0) wireframe=wireframe[1:]

wireframe.shape`

it produces this error:

ValueError                               
Traceback (most recent call last)
<ipython-input-14-80ff56765618> in <cell line: 2>()
      1 wireframe=np.empty((1,10))
----> 2 for result in results:
      3     temp=result
      4     wireframe=np.concatenate((wireframe,np.array(temp)),axis=0)
      5 wireframe=wireframe[1:]

4 frames
/usr/lib/python3.10/concurrent/futures/_base.py in __get_result(self)
    401         if self._exception:
    402             try:
--> 403                 raise self._exception
    404             finally:
    405                 # Break a reference cycle with the exception in self._exception

ValueError: min_samples must be no greater than the number of samples (1). Got 2
deepgoyal19 commented 3 months ago

I sincerely apologise for the delay. I will try to upload the new code as soon as possible.