OP_REQUIRES failed at save_restore_v2_ops.cc:109 : Not found: Failed to create a NewWriteableFile:

对TensorFlow模型进行save时,报错:

2020-06-09 19:52:54.515580: W tensorflow/core/framework/op_kernel.cc:1502] OP_REQUIRES failed at 
save_restore_v2_ops.cc:109 : Not found: Failed to create a NewWriteableFile: 
./output/predicate_classification_model/epochs6\model.ckpt-
0_temp_633c1cb63a9b4dbdb4f5d0f5a4402957/part-00000-of-00001.data-00000-of-
00001.tempstate18243913721809145002 : �t�Χ䤣����w�����|�C
; No such process
Windows fatal exception: access violation

原因是:save的路径过长,对路径进行缩短就能正常运行

你可能感兴趣的:(OP_REQUIRES failed at save_restore_v2_ops.cc:109 : Not found: Failed to create a NewWriteableFile:)