https://github.com/KangchengHou/gntk
tm上来就是一个0xc000012d,甚至让我闻到了麦芽的香气
输入
python gram.py --dataset IMDBBINARY --num_mlp_layers 2 --num_layers 2 --scale uniform --jk 1 --out_dir out
输出
loading data
# classes: 2
# maximum node tag: 65
# data: 1000
Exception in thread Thread-1:
疑似是多线程问题
ValueError: need at most 63 handles, got a sequence of length 82
RuntimeError:
An attempt has been made to start a new process before the
current process has finished its bootstrapping phase.
This probably means that you are not using fork to start your
child processes and you have forgotten to use the proper idiom
in the main module:
if __name__ == '__main__':
freeze_support()
...
The "freeze_support()" line can be omitted if the program
is not going to be frozen to produce an executable.
最后CtrlC才刹住车
forrtl: error (200): program aborting due to control-C event
Image PC Routine Line Source
libifcoremd.dll 00007FFD7CE13B58 Unknown Unknown Unknown
KERNELBASE.dll 00007FFDC0EEB933 Unknown Unknown Unknown
KERNEL32.DLL 00007FFDC3297034 Unknown Unknown Unknown
ntdll.dll 00007FFDC3442651 Unknown Unknown Unknown
尝试了一下网上的方法把内容写进main,但还是没啥改进