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

impossible on colab #44

Open
mehrnia opened this issue Apr 30, 2024 · 0 comments
Open

impossible on colab #44

mehrnia opened this issue Apr 30, 2024 · 0 comments

Comments

@mehrnia
Copy link

mehrnia commented Apr 30, 2024

both old version and new versions have issues on colab
error in new version of pymic:
/content/drive/MyDrive/MyoPS2020/project/PyMIC/pymic/util
Traceback (most recent call last):
File "/content/drive/MyDrive/MyoPS2020/project/PyMIC/pymic/util/evaluation_seg.py", line 16, in
from pymic.util.general import is_image_name
ImportError: cannot import name 'is_image_name' from 'pymic.util.general' (/usr/local/lib/python3.10/dist-packages/pymic/util/general.py)

error in old version of pymic:(had same issue on local as well)
File "/usr/local/lib/python3.10/dist-packages/pymic/util/evaluation_seg.py", line 279, in main
evaluation(config_file)
File "/usr/local/lib/python3.10/dist-packages/pymic/util/evaluation_seg.py", line 225, in evaluation
gt_full_name = gt_root + '/' + gt_name
TypeError: can only concatenate str (not "float") to str

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