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

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

Open
znavidi opened this issue Aug 24, 2023 · 2 comments
Open

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

znavidi opened this issue Aug 24, 2023 · 2 comments

Comments

@znavidi
Copy link

znavidi commented Aug 24, 2023

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
Copy link
Author

znavidi commented Aug 25, 2023

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

@M0hammadL
Copy link
Member

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

Naghipourfar added a commit that referenced this issue Aug 31, 2023
…ning techniques added

- Mixup added
- Documentation added for most of functions
- Tutorial notebooks for Combo Sci-plex and Norman et al. updated
- FocalLoss added for adversarial training
- More efficient pre-processing algorithm added
- unnecessary methods removed
- GSM notebook removed
- dependencies has been updated
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