ibnnet/README.md
An implementation of IBN-Net, proposed in "Two at Once: Enhancing Learning and Generalization Capacities via IBN-Net", ECCV2018 by Xingang Pan, Ping Luo, Jianping Shi, Xiaoou Tang.
For the Pytorch implementation, you can refer to IBN-Net
// for ibn-a
python gen_wts.py a
a file 'resnet50-ibna.wts' will be generated.
// for ibn-b
python gen_wts.py b
a file 'resnet50-ibnb.wts' will be generated.
mkdir build
cd build
cmake ..
make
// put resnet50-ibna.wts/resnet50-ibnb.wts into tensorrtx/ibnnet
// go to tensorrtx/ibnnet
./ibnnet -s // serialize model to plan file
./ibnnet -d // deserialize plan file and run inference