CSAILVision / CSAILVision/NetDissect
problem when use the pytorch version,have no idea with it
- 主要言語
- Python
- スター
- 455
- フォーク
- 114
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Traceback (most recent call last):
File "src/netprobe_pytorch.py", line 291, in
split=args.split, cl_args=args, verbose=True)
File "src/netprobe_pytorch.py", line 52, in create_probe
data = loadseg.SegmentationData(args.dataset)
File "/home/czy/NetDissect/src/loadseg.py", line 63, in __init__
self.image = [decode_index_dict(r) for r in DictUnicodeReader(f)]
File "/home/czy/NetDissect/src/unicsv.py", line 48, in __init__
self.reader = csv.DictReader(f, dialect=dialect, **kwds)
File "/home/czy/.conda/envs/python36/lib/python3.6/csv.py", line 87, in __init__
self.reader = reader(f, dialect, *args, **kwds)
TypeError: argument 1 must be an iterator
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
Start by reproducing the PyTorch entry point in src/netprobe_pytorch.py, then trace create_probe into src/loadseg.py and src/unicsv.py where the traceback reaches csv.DictReader. Check the dataset-loading path and Python compatibility, and consider the issue done when the PyTorch version starts without this TypeError.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python, pytorch
- 領域
- machine-learning
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100