Adding sample to components triggers error
components.py", line 463, in init
self.sample_pixels = sample.shape[0]
AttributeError: 'NoneType' object has no attribute 'shape'
Modifying components.py at line 463 as follows allows sample to be generated in output
if sample is not None:
self.sample_pixels = sample.shape[0]