zhihou7 / detr

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This is the repository based on DETR. This repository includes the implementation of batchformer based on DETR. The corresponding code starts from here

if args is not None and args.bf:
.

Please ignore the "checkpoint" that I actually do not use it. Core part of the code is

if i in self.insert_idx and self.bf is not None and self.bf_idx == 3 and self.training:

However, this repository might include some codes for my other projects. For the redundant code, you can just ignore it.

For this batchformerv2 experiment, I insert the batchformerv2 module in the first layer (i.e. insert_index=0 and bf_idx=3). Meanwhile, I run the experiments on 16G V100 and set the batch size as 8 with 4 gpus.

About

License:Apache License 2.0


Languages

Language:Python 97.6%Language:Shell 2.2%Language:Dockerfile 0.2%