- 环境:
PyCharm 2018,Python 3.6+
- 问题:
Debug模式下调试CS20si中词嵌入例子word2vec报错:
Exception ignored in: <generator object _yield_value at 0x0000011ACEDF22B0>
Traceback (most recent call last):
File "E:\Anaconda3\envs\ML\lib\site-packages\tensorflow\python\data\util\nest.py", line 100, in _yield_value
yield value
SystemError: error return without exception set
- 解决办法:
在Run->Edit Configurations中添加Environment variable:
- PYDEVD_USE_FRAME_EVAL=NO