Skip to content

第4章的anchor_target_layer.py中代码格式似乎有问题 #18

Description

@Eggache666

代码位置:chapter4/faster-rcnn-pytorch/lib/model/rpn/anchor_target_layer.py 的第166行

num_examples = torch.sum(labels[i] >= 0)
请问方括号里的 i 是在哪里定义的?是上面for语句里面的吗?是不是格式化错了?能否调整下,谢谢!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions