PaddleGAN icon indicating copy to clipboard operation
PaddleGAN copied to clipboard

【lapstyle】训练drafting network时报错segmentation fault

Open Lanxin1011 opened this issue 4 years ago • 0 comments

您好,我在自己的数据集上运行python tools/main.py --config-file configs/lapstyle_draft.yaml时,当运行至第一个validate时出现如下报错:

[09/04 23:22:01] ppgan.engine.trainer INFO: Test iter: [0/61]


C++ Traceback (most recent call last):

0 paddle::framework::SignalHandle(char const*, int) 1 paddle::platform::GetCurrentTraceBackStringabi:cxx11


Error Message Summary:

FatalError: Segmentation fault is detected by the operating system. [TimeInfo: *** Aborted at 1630768921 (unix time) try "date -d @1630768921" if you are using GNU date ***] [SignalInfo: *** SIGSEGV (@0x0) received by PID 5437 (TID 0x7f6b891a9700) from PID 0 ***]

Segmentation fault (core dumped)

通过查看其他类似issue发现可能是paddle没有安装正确或是内存访问越界问题,前者可以排除,后者的解决办法有调小batchsize和num_workers,但是尝试后均未能解决上述报错,请问官方大大应该如何解决呢?:)

Lanxin1011 avatar Sep 04 '21 15:09 Lanxin1011