Kelsey
Results
2
issues of
Kelsey
ImportError: cannot import name 'DataSetIter' from 'fastNLP' 似乎无法调用DataSetIter和BatchIter,其他模块都可以正常调用
1
**Describe the bug** 环境为Anaconda+python3.8, fastNLP版本为1.0.1,可以正常调用其他模块,但无法调用DataSetIter和BatchIter模块。描述如下: File "./stock_energy/aegan.py", line 10, in from fastNLP import DataSet, DataSetIter, RandomSampler, SequentialSampler ImportError: cannot import name 'DataSetIter' from 'fastNLP' (/Users/mac/opt/anaconda3/lib/python3.8/site-packages/fastNLP/__init__.py) Python 3.8.3 (default, Jul 2...
营销党
1
楼上正解!