Are you sure you want to delete this task? Once this task is deleted, it cannot be recovered.
ytk_sky 28a85bda7c | 1 year ago | |
---|---|---|
images | 1 year ago | |
opt | 1 year ago | |
.gitignore | 1 year ago | |
EfficientDet.ipynb | 1 year ago | |
LICENSE | 1 year ago | |
README.md | 1 year ago | |
anchors.py | 1 year ago | |
bifpn.py | 1 year ago | |
coco_eval.py | 1 year ago | |
csv_eval.py | 1 year ago | |
dataloader.py | 1 year ago | |
efficientdet.py | 1 year ago | |
feature_select.py | 1 year ago | |
losses.py | 1 year ago | |
oid_dataset.py | 1 year ago | |
retinanet.py | 1 year ago | |
test.py | 1 year ago | |
text1.py | 1 year ago | |
timeitdec.py | 1 year ago | |
train.py | 1 year ago | |
utils.py | 1 year ago | |
visualize.py | 1 year ago |
Here we implement EfficientDet. The code is based on a RetinaNet implementation by yhenon/pytorch-retinanet. We use the EfficientNet backend by rwightman/gen-efficientnet-pytorch.
Current implementation is able to run. I'll update this document as soon as I have some preliminary results. The paper by Tan et al. gives a few more details, which we would like to implement and report on:
If you have other issues that need my attention, feel free to make a pull request or leave an issue.
Model | mAP | #Params | #FLOPS
Clone this repo
Install the required packages:
apt-get install tk-dev python-tk
pip install pandas
pip install pycocotools
pip install cython
pip install opencv-python
pip install requests
pip install efficientnet_pytorch
Note that you may have to edit line 14 of build.sh
if you want to change which version of python you are building the extension for.
The network can be trained using the train.py
script. Currently, two dataloaders are available: COCO and CSV. For training on coco, use
python3 train.py --efficientnet --dataset coco --coco_path ../../Datasets/COCO2017 --scaling-compound 0 --batch-size 8
For training using a custom dataset, with annotations in CSV format (see below), use
python train.py --dataset csv --csv_train <path/to/train_annots.csv> --csv_classes <path/to/train/class_list.csv> --csv_val <path/to/val_annots.csv>
Note that the --csv_val argument is optional, in which case no validation will be performed.
No Description
Python Jupyter Notebook Cython Cuda C++
Dear OpenI User
Thank you for your continuous support to the Openl Qizhi Community AI Collaboration Platform. In order to protect your usage rights and ensure network security, we updated the Openl Qizhi Community AI Collaboration Platform Usage Agreement in January 2024. The updated agreement specifies that users are prohibited from using intranet penetration tools. After you click "Agree and continue", you can continue to use our services. Thank you for your cooperation and understanding.
For more agreement content, please refer to the《Openl Qizhi Community AI Collaboration Platform Usage Agreement》