PaddlePaddle/models

Face detection Validation

Open

#1514 aperta il 10 dic 2018

Vedi su GitHub
 (18 commenti) (0 reazioni) (1 assegnatario)Python (2956 fork)batch import
help wanted

Metriche repository

Star
 (6853 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

When I ran the validation code, I encoutered this error. Pls help me . I raised lots of questions yesterday. Pls, or I'll be fired soon.

----------- Configuration Arguments ----------- confs_threshold: 0.15 data_dir: data/WIDER_val/images/ file_list: data/wider_face_split/wider_face_val_bbx_gt.txt image_path: infer: False model_dir: PyramidBox_WiderFace/ pred_dir: pred use_gpu: True use_pyramidbox: True


W1210

10:20:21.553225 13318 device_context.cc:203] Please NOTE: device: 0, CUDA Capability: 61, Driver Version: 9.2, Runtime Version: 9.0 W1210 10:20:21.553249 13318 device_context.cc:210] device: 0, cuDNN Version: 7.0. W1210 10:20:22.738585 13318 system_allocator.cc:122] Cannot malloc 217.012 MB GPU memory. Please shrink FLAGS_fraction_of_gpu_memory_to_use environment variable to a lower value. Current value is 5e-06 W1210 10:20:22.738677 13318 legacy_allocator.cc:161] Cannot allocate 217.011719MB in GPU 0, available 201.375000MB W1210 10:20:22.738684 13318 legacy_allocator.cc:164] total 12787122176 W1210 10:20:22.738692 13318 legacy_allocator.cc:165] GpuMinChunkSize 256.000000B W1210 10:20:22.738700 13318 legacy_allocator.cc:168] GpuMaxChunkSize 59.314453kB W1210 10:20:22.738708 13318 legacy_allocator.cc:171] GPU memory used: 902.250000kB Traceback (most recent call last): File "widerface_eval.py", line 317, in infer(args, config) File "widerface_eval.py", line 63, in infer [det2, det3] = multi_scale_test(image, max_shrink) File "widerface_eval.py", line 203, in multi_scale_test det_b = detect_face(image, bt) File "widerface_eval.py", line 121, in detect_face return_numpy=False) File "/usr/local/lib/python2.7/dist-packages/paddle/fluid/executor.py", line 472, in run self.executor.run(program.desc, scope, 0, True, True) RuntimeError: parallel_for failed: out of memory terminate called after throwing an instance of 'paddle::platform::EnforceNotMet' what(): cudaFree{Host} failed in GPUAllocator::Free.: an illegal memory access was encountered at [/paddle/paddle/fluid/memory/detail/system_allocator.cc:150] PaddlePaddle Call Stacks: 0 0x7fa26295ce86p paddle::platform::EnforceNotMet::EnforceNotMet(std::__exception_ptr::exception_ptr, char const*, int) + 486 1 0x7fa2641fda0ap paddle::memory::detail::GPUAllocator::Free(void*, unsigned long, unsigned long) + 266 2 0x7fa2641fb922p paddle::memory::detail::BuddyAllocator::Free(void*) + 1122 3 0x7fa2641f78a5p paddle::memory::allocation::LegacyAllocator::Free(paddle::memory::allocation::Allocation*) + 69 4 0x7fa262960949p std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_release() + 57 5 0x7fa262961cfdp paddle::framework::Variable::PlaceholderImplpaddle::framework::LoDTensor::~PlaceholderImpl() + 61 6 0x7fa26419999dp paddle::framework::Scope::~Scope() + 141 7 0x7fa2641998a1p paddle::framework::Scope::DropKids() + 81 8 0x7fa26419992dp paddle::framework::Scope::~Scope() + 29 9 0x7fa26295a80ap

*** Aborted at 1544408422 (unix time) try "date -d @1544408422" if you are using GNU date *** PC: @ 0x0 (unknown) *** SIGABRT (@0x3e800003406) received by PID 13318 (TID 0x7fa2b30c2700) from PID 13318; stack trace: *** @ 0x7fa2b2cb9390 (unknown) @ 0x7fa2b2913428 gsignal @ 0x7fa2b291502a abort @ 0x7fa2a891884d __gnu_cxx::__verbose_terminate_handler() @ 0x7fa2a89166b6 (unknown) @ 0x7fa2a89156a9 (unknown) @ 0x7fa2a8916005 __gxx_personality_v0 @ 0x7fa2a8e37f83 (unknown) @ 0x7fa2a8e38487 _Unwind_Resume @ 0x7fa2641fbc75 paddle::memory::detail::BuddyAllocator::Free() @ 0x7fa2641f78a5 paddle::memory::allocation::LegacyAllocator::Free() @ 0x7fa262960949 std::_Sp_counted_base<>::_M_release() @ 0x7fa262961cfd paddle::framework::Variable::PlaceholderImpl<>::~PlaceholderImpl() @ 0x7fa26419999d paddle::framework::Scope::~Scope() @ 0x7fa2641998a1 paddle::framework::Scope::DropKids() @ 0x7fa26419992d paddle::framework::Scope::~Scope()

Guida contributor