-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I Can not run the demo.py #2
Comments
I've fixed the code |
thank u so much ! `UserWarning: semaphore_tracker: There appear to be 8 leaked semaphores to clean up at shutdown Traceback (most recent call last): File "tools/train.py", line 133, in
File "/home/zhaobin/workspace/yolox_keypoint_segment/yolox/core/launch.py", line 95, in launch
File "/usr/local/lib/python3.6/dist-packages/torch/multiprocessing/spawn.py", line 188, in start_processes
File "/usr/local/lib/python3.6/dist-packages/torch/multiprocessing/spawn.py", line 136, in join
torch.multiprocessing.spawn.ProcessExitedException: process 0 terminated with signal SIGKILL` my machine is 24 cpu cores, 384G RAM, 8 GPUs(RTX 3090) , I've try to set the batchsize smaller, but this error still occured! |
you can use -d 1 -b 8,i will fix this bug today |
-d 1 -b 8 num_worker =4 I suspect that the thread is repeatedly called. This problem appears in the original yolox. Now this problem will occur with coco generator, but the custom generator has not found the problem yet. Control num with coco generator,just the number of num_workers |
I found that when i set -d 4 , the CPU memory-used was 260G , when i changed -d 2, the CPU memory-used was 130G, the other args were same. Then I found the coding below will reload seg annotations , and the reload times depended on -d,
` I want to know how can i fix this? |
update the code and try it again |
I already download the standard pretrain weights, and do as the README, I run the cmd "python tools/demo_old.py image -n yolox-s -c weights/yolox_s.pth --path assets/dog.jpg --conf 0.25 --nms 0.45 --tsize 640 --save_result --device cpu",
the error is :
AttributeError: 'YOLOXHead' object has no attribute 'strides'
How can I fix this?
The text was updated successfully, but these errors were encountered: