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

Testing with 1 image leads to error #5

Open
torridgristle opened this issue Jan 21, 2022 · 0 comments
Open

Testing with 1 image leads to error #5

torridgristle opened this issue Jan 21, 2022 · 0 comments

Comments

@torridgristle
Copy link

File "/content/MangaRestoration/core/datasetreal.py", line 25, in __init__
    self.data = [i for i in np.genfromtxt(os.path.join(data_args['flist_root'], data_args['name2'], split+'.flist'), dtype=np.str, encoding='utf-8',delimiter="\n")]
TypeError: iteration over a 0-d array

With an flist made with !python scripts/flist.py --path datazip/manga1/test --output flist/manga1/test.flist and one grayscale PNG in the test path.

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

1 participant