Open wang001 opened 4 years ago
能否提供具体的报错信息?
只有一个这个退出的错误码,应该是因为windows下面的缘故,但是在调小batch_size和seq后可以运行,应该是因为显存不足。
是哪个退出的错误码?能否提供下?
0xC0000409
请问还有什么其他错误现象吗?比如退出时的界面或堆栈信息?
没有,windows下面一直没有支持堆栈吧,如果你了解nlp的话,可以随便拿个数据集试试吧
Device count: 1 Num train examples: 6619 Max train steps: 6619 Num warmup steps: 0 Theoretical memory usage in training: 6787.632 - 7110.853 MB Load pretraining parameters from F:/pretrain/chinese_wwm_ext_L-12_paddle. WARNING:root: You can try our memory optimize feature to save your memory usage:
build_strategy = compiler.BuildStrategy()
build_strategy.enable_inplace = True
build_strategy.memory_optimize = True
# pass the build_strategy to with_data_parallel API
compiled_prog = compiler.CompiledProgram(main).with_data_parallel(
loss_name=loss.name, build_strategy=build_strategy)
!!! Memory optimize is our experimental feature !!!
some variables may be removed/reused internal to save memory usage,
in order to fetch the right value of the fetch_list, please set the
persistable property to true for each variable in fetch_list
# Sample
conv1 = fluid.layers.conv2d(data, 4, 5, 1, act=None)
# if you need to fetch conv1, then:
conv1.persistable = True
train pyreader queue size: 50, learning rate: 0.000010 epoch: 0, progress: 54/6619, step: 0, ave loss: 0.7352414727210999, ave acc: 1.0 Check failure stack trace:
Process finished with exit code -1073740791 (0xC0000409)
尝试过bert-wwm(哈工大提供的),在keras上面可以跑batch_size=6,max_seq=512。 但是,在这里面只能跑batch=1,seq_len=300(我试过) 版本、环境信息: 1)PaddlePaddle版本:1.5.0.post87 2)CPU:i5 9400f 3)GPU:1080ti,通过anaconda安装的cudatoolkit 8.0,cudnn7.1.4 4)系统环境:win10专业版,64位,Python版本 3.6.8