Open LHY-HongyangLi opened 1 year ago
I think the bevformers in this repo still needs to be cleaned up -- for sure bevformer2.py is broken right now. I think the first bevformer should outperform segnet on average, so it's possible something is wrong. Did you already figure out that you need to compile the nets/ops/
?
Hey,
how exactly does the compilation of the nets/ops work?
Thanks!
Go to ./nets/ops
and run sh make.sh
@aharley How can I reproduce "Multi-scale deform. attn.” in “table1” IoU?
@LHY-HongyangLi Have you reproduced the Multi-scale deform. attn. 48.9 this?
@aharley @LHY-HongyangLi When I run bevformer:
python train_nuscenes.py \
--exp_name="bevformer" \
--max_iters=25000 \
--log_freq=1000 \
--dset='trainval' \
--batch_size=8 \
--grad_acc=5 \
--use_scheduler=True \
--data_dir='/data/nuscenes' \
--log_dir='logs_nuscenes' \
--ckpt_dir='checkpoints' \
--res_scale=2 \
--ncams=6 \
--encoder_type='res101' \
--do_rgbcompress=True \
--device_ids=[0,1,2,3,4,5,6,7]
and the log:
this is very strange, any good advices? Thanks a lot.
@aharley @LHY-HongyangLi When I run bevformer:
python train_nuscenes.py \
--exp_name="bevformer" \ --max_iters=25000 \ --log_freq=1000 \ --dset='trainval' \ --batch_size=8 \ --grad_acc=5 \ --use_scheduler=True \ --data_dir='/data/nuscenes' \ --log_dir='logs_nuscenes' \ --ckpt_dir='checkpoints' \ --res_scale=2 \ --ncams=6 \ --encoder_type='res101' \ --do_rgbcompress=True \ --device_ids=[0,1,2,3,4,5,6,7]
and the log: this is very strange, any good advices? Thanks a lot.
can you run the code directly?
Segnet
is used in the train_nuscenes.py
, I changed it as "from nets.bevformernet2 import Bevformernet" and I also changed the model
in train_nuscenes.py
.
However, I show me an error when it goes bevformernet2.py#L497 .
Could you please share how you run or modify the codes?
Best regards and thank you very much!
Hi, Dr.Harley, simple-bev is really a nice work, however, when running the code to reproduce the results in “table1” I meet some problems:
log of Q2:
log of Q3: