Closed LeeJinSoo-BIN closed 1 year ago
tools/train.py is for training object detection and segmentation, please put the focalnet code to mmdet (https://github.com/open-mmlab/mmdetection) first and then run with train.py or test.py
@jwyang I'm confused by this as well. Can you clarify further? Should I clone the mmdetection repo, and then copy the FocalNet files into the mmdetection directory structure? Where should the root contents of FocalNet be placed within the mmdetection directory structure?
Hi, @mattroos yes, you are right. You need to clone mmdetection repo and copy the files here (https://github.com/microsoft/FocalNet/tree/main/detection) to the corresponding locations. Please follow the same hierarchy when copying. For example, you need to copy the files in folder "mmdet/models/backbones" of this repo to the folder mmdet/models/backbones/ under mmdet. Same rule applies to configs.
Also, I am going to put the files into the mmdetection to ease the reproducing of the experiments. Please stay tuned on this repo: https://github.com/FocalNet/FocalNet-MMDetection
For segmentation task, do i need to clone mmsegmentation and then put Focalnet there? Can you guide
i can't find tools/train.py