Skip to content

ImportError: cannot import name 'TaskType' from 'pymic' #41

@TimeChanged

Description

@TimeChanged

Sorry to bother.

I use pip install PYMIC for the latest 0.4.0 version.
And use it to run projects using pymic but have this issue.
together with something else, seems like I can't use

To enable the following instructions: SSE SSE2 SSE3 SSE4.1 SSE4.2 AVX AVX2 AVX_VNNI FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.
Traceback (most recent call last):
File "f:\ISY5001\task\MIS-FM-main\predict.py", line 10, in
from pymic.net_run.agent_seg import SegmentationAgent
File "E:\software\anaconda3\Lib\site-packages\pymic\net_run\agent_seg.py", line 20, in
from pymic.net.net_dict_seg import SegNetDict
import pymic.net.net2d.trans2d.transunet_cfg as configs
File "E:\software\anaconda3\Lib\site-packages\pymic\net\net2d\trans2d\transunet_cfg.py", line 4, in
import ml_collections
ModuleNotFoundError: No module named 'ml_collections'

How can I solve that?

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