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

How to change encoder from efficientdet-d3 to efficientdet-d0? #7

Open
lygbuaa opened this issue Feb 18, 2022 · 0 comments
Open

How to change encoder from efficientdet-d3 to efficientdet-d0? #7

lygbuaa opened this issue Feb 18, 2022 · 0 comments

Comments

@lygbuaa
Copy link

lygbuaa commented Feb 18, 2022

efficientdet-d3 is too heavy for me, I set "base = efficientdet-d0" in nuscenes.ini and run into error:

Creating backbone model efficientdet-d0
Traceback (most recent call last):
  File "eval_panoptic_bev.py", line 614, in <module>
    main(parser.parse_args())
  File "eval_panoptic_bev.py", line 569, in main
    model = make_model(args, config, test_dataloader.dataset.num_thing, test_dataloader.dataset.num_stuff)
  File "eval_panoptic_bev.py", line 200, in make_model
    body = EfficientDet(compound_coef=model_compount_coeff)
  File "/home/hugoliu/github/PanopticBEV/panoptic_bev/models/backbone_edet/efficientdet.py", line 468, in __init__
    *[BiFPN(self.fpn_num_filters[self.compound_coef],
  File "/home/hugoliu/github/PanopticBEV/panoptic_bev/models/backbone_edet/efficientdet.py", line 468, in <listcomp>
    *[BiFPN(self.fpn_num_filters[self.compound_coef],
  File "/home/hugoliu/github/PanopticBEV/panoptic_bev/models/backbone_edet/efficientdet.py", line 122, in __init__
    Conv2dStaticSamePadding(conv_channels[3], num_channels, 1),
IndexError: list index out of range

so how should I modify the file efficientdet.py for efficientdet-d0 ?

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