cpa icon indicating copy to clipboard operation
cpa copied to clipboard

model.predict() error: cannot unpack non-iterable NoneType object

Open znavidi opened this issue 2 years ago • 2 comments

Hi,

I am getting the below error in the model.predict() line when reproducing the Sciplex2 tutorial example with CPA version 0.3.3:

TypeError: cannot unpack non-iterable NoneType object

I used the tutorial code and only changed a few parameter names to be consistent with the updated GitHub version. I would appreciate any guidance on what the source of this error could be.

Thanks!

znavidi avatar Aug 24 '23 21:08 znavidi

I figured out that it was because of the change in the output of predict() function in the updated version of the package.

znavidi avatar Aug 25 '23 13:08 znavidi

Hi zeinab there will be a massive code update on Monday, @Naghipourfar

M0hammadL avatar Aug 25 '23 14:08 M0hammadL