chongruo / detectron2-ResNeSt

A fork of Detectron2 with ResNeSt backbone

Home Page:https://arxiv.org/abs/2004.08955

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

stage might be referenced before asignment

814696032 opened this issue · comments

for s in range(stage, stage + self.top_block.num_levels):

I want to apply the backbone in my custom net , but there seems a problem in fpn.py in line 96
The "stage" is used before reference, How can I solve this ?
Thanks for your reply!