zhanghang1989 / zhanghang1989/PyTorch-Encoding

ModuleNotFoundError: No module named 'dataloader.minc'

Open
#213 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
2k
Forks
448
PR merge metrics
No merged PRs in 30d

Description

Traceback (most recent call last):
  File "D:/GitHub/Deep-Encoding-Pooling-Network-DEP-/train.py", line 172, in <module>
    main()
  File "D:/GitHub/Deep-Encoding-Pooling-Network-DEP-/train.py", line 45, in main
    dataset = importlib.import_module('dataloader.'+args.dataset)
  File "C:\anaconda\envs\python36\lib\importlib\__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 965, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'dataloader.minc'

how to deal with this problem? dear zhang.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at train.py line 45, where the dataset argument is used to import dataloader.minc, then inspect the dataloader package and the selected dataset configuration. Confirm whether the referenced module is present and whether the training command uses the expected dataset name; done means training proceeds past this import without ModuleNotFoundError.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.