Skip to content

impossible on colab #44

@mehrnia

Description

@mehrnia

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions