Skip to content
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

retinanet_resnet50_fpn测试出错 #275

Open
zkyseu opened this issue Oct 16, 2023 · 0 comments
Open

retinanet_resnet50_fpn测试出错 #275

zkyseu opened this issue Oct 16, 2023 · 0 comments

Comments

@zkyseu
Copy link
Contributor

zkyseu commented Oct 16, 2023

基于project里面提供的train.py运行以下代码

python train.py \
  --data-path /home/kunyangzhou/project/dataset/coco \
  --dataset coco \
  --model retinanet_resnet50_fpn \
  --batch-size 8 \
  --pretrained \
  --test-only

然后出现报错

Stack trace (most recent call last) in thread 3038061:
   Object "/home/kunyangzhou/anaconda3/envs/zky/lib/python3.8/site-packages/oneflow/../oneflow.libs/liboneflow-05bae072.so", at 0x7f083c34fa6f, in 
   Object "/home/kunyangzhou/anaconda3/envs/zky/lib/python3.8/site-packages/oneflow/../oneflow.libs/liboneflow-05bae072.so", at 0x7f08352cf7e0, in VirtualMachine::ScheduleLoop(std::function<void ()> const&)
   Object "/home/kunyangzhou/anaconda3/envs/zky/lib/python3.8/site-packages/oneflow/../oneflow.libs/liboneflow-05bae072.so", at 0x7f08352ebeea, in vm::VirtualMachineEngine::Schedule(vm::ScheduleCtx const&)
   Object "/home/kunyangzhou/anaconda3/envs/zky/lib/python3.8/site-packages/oneflow/../oneflow.libs/liboneflow-05bae072.so", at 0x7f08352ea27d, in vm::VirtualMachineEngine::DispatchAndPrescheduleInstructions(vm::ScheduleCtx const&)
   Object "/home/kunyangzhou/anaconda3/envs/zky/lib/python3.8/site-packages/oneflow/../oneflow.libs/liboneflow-05bae072.so", at 0x7f08352e78b4, in vm::VirtualMachineEngine::DispatchInstruction(vm::Instruction*, vm::ScheduleCtx const&)
   Object "/home/kunyangzhou/anaconda3/envs/zky/lib/python3.8/site-packages/oneflow/../oneflow.libs/liboneflow-05bae072.so", at 0x7f083528daf3, in vm::Instruction::Prepare()
   Object "/home/kunyangzhou/anaconda3/envs/zky/lib/python3.8/site-packages/oneflow/../oneflow.libs/liboneflow-05bae072.so", at 0x7f083528f666, in vm::OpCallInstructionPolicy::Prepare(vm::Instruction*)
   Object "/home/kunyangzhou/anaconda3/envs/zky/lib/python3.8/site-packages/oneflow/../oneflow.libs/liboneflow-05bae072.so", at 0x7f0837fdecc8, in StatefulOpKernel::InferTmpSize(eager::CallContext*, user_op::OpKernel const*) const
   Object "/home/kunyangzhou/anaconda3/envs/zky/lib/python3.8/site-packages/oneflow/../oneflow.libs/liboneflow-05bae072.so", at 0x7f083808f2a6, in 

Floating point exception (Integer divide by zero [0x7f083808f2a6])
retinanet_resnet50_fpn/infer.sh: line 8: 3037911 Floating point exception(core dumped) python train.py --data-path /home/kunyangzhou/project/dataset/coco --dataset coco --model retinanet_resnet50_fpn --batch-size 8 --pretrained --test-only
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant