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

ValueError: Cannot load file containing pickled data when allow_pickle=False #9

Open
My12123 opened this issue Feb 2, 2023 · 1 comment

Comments

@My12123
Copy link

My12123 commented Feb 2, 2023

2023-02-02_20-27-33

@kenjibailly
Copy link

kenjibailly commented Mar 4, 2024

Have you been able to fix this?

Edit:
I've been able to fix that error.
You have to download the model file (550000.model) and put it in model/comicolorization
https://s3-us-west-1.amazonaws.com/nico-opendata-distribution/550000.model
I'm pretty sure the 80000.model in super_resolution that is in this repository isn't correct as it's 1kb.
It's not mentioned in the repo, but I tried to change the previous link's end to 80000.model and I was able to download a file
https://s3-us-west-1.amazonaws.com/nico-opendata-distribution/80000.model

However I'm getting other errors now.

Edit 2:
I've got it to work.
I had an error saying this:

AttributeError: module 'collections' has no attribute 'Iterable'

What you have to do is open this file and edit it:

C:\Python312\Lib\site-packages\chainer\functions\pooling\pooling_2d.py

Add this line of code:

collections.Iterable = collections.abc.Iterable

Under the first line being:

import collections

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