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

Error while running MIL_train.py #20

Open
naveenagorre opened this issue Jan 3, 2022 · 3 comments
Open

Error while running MIL_train.py #20

naveenagorre opened this issue Jan 3, 2022 · 3 comments

Comments

@naveenagorre
Copy link

Hello, I'm working on running the MIL_train script and it's throwing me the below mentioned error:

  • raise exception ctypes.ArgumentError: Caught ArgumentError in DataLoader worker process 0.
  • read_region(slide, buf, x, y, level, w, h), ctypes.ArgumentError: argument 3: <class 'TypeError'>: wrong type. I have tried multiple clues available online but none seems to work.

Any suggestions what's going on.

OS - Linux
Openslide-python version 1.1.2

@qiyueliuhuo23
Copy link

Hi,naveenagorre. I run the code recently and I got the same errors. So could you tell me how you deal with the error? Thanks a lot.

@naveenagorre
Copy link
Author

naveenagorre commented Jul 1, 2022 via email

@qiyueliuhuo23
Copy link

Your answer was very useful to me, thank you very much for your help. Have a nice day!

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