Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (3.7%) to scientific vocabulary
Repository
Basic Info
- Host: GitHub
- Owner: YuxueYang1204
- License: apache-2.0
- Language: Python
- Default Branch: main
- Size: 29.5 MB
Statistics
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
AVM
环境配置
- 使用 MIM 安装 MMCV 和 MMDetection
shell
pip install -U openmim
mim install mmcv-full
mim install mmdet\<3.0.0
- 安装 MMSegmentation
shell
pip install mmsegmentation
- 安装 MMRotate
shell
git clone https://github.com/Yuppie898988/AVM.git
cd AVM
pip install -v -e .
数据准备
AVM原始数据集目录需调整为如下结构
python
AVM
└─ data
└─ avm
├─ images
│ ├─ b2_left
│ │ └─ avm
│ │ └─ *.jpg
│ ├─ b2_right
│ ├─ b2_to_b3
│ └─ b3_to_b2
├─ det_annotations
│ ├─ b2_left
│ │ └─ *.json
│ ├─ b2_right
│ ├─ b2_to_b3
│ └─ b3_to_b2
└─ mask
├─ b2_left
│ └─ *.png
├─ b2_right
├─ b2_to_b3
└─ b3_to_b2
通过create_data.py将数据集转换为指定格式
shell
python tools/create_data.py --avm-dir ./data/avm --output-dir ./data/avm_seg_det
转换后格式为
python
AVM
└─ data
├─ avm
│ └─ ...
└─ avm_seg_det
└─ train
├─ annfiles
│ └─ *.txt
├─ images
│ └─ *.png
└─ segments
└─ *.png
训练
shell
./tools/dist_train.sh configs/avm/seg_rotated_retinanet_obb_r50_fpn_1x_avm_le90.py 8 --work-dir ${YOUR_WORK_DIR}
推理
shell
python tools/inference.py --config configs/avm/seg_rotated_retinanet_obb_r50_fpn_1x_avm_le90.py --checkpoint ${CHECKPOINT_FILE} --image_path ${IMAGE_FILE} --save_dir ${SAVE_DIR_PATH}
样例
|Input|Detection|Segmentation|
|-|-|-|
|
|
|
|
Owner
- Name: Yuxue Yang
- Login: YuxueYang1204
- Kind: user
- Location: Beijing
- Company: CASIA
- Repositories: 1
- Profile: https://github.com/YuxueYang1204
GitHub Events
Total
Last Year
Dependencies
- pytorch/pytorch ${PYTORCH}-cuda${CUDA}-cudnn${CUDNN}-devel build
- pytorch/pytorch ${PYTORCH}-cuda${CUDA}-cudnn${CUDNN}-devel build
- cython *
- numpy *
- docutils ==0.16.0
- markdown >=3.4.0
- myst-parser *
- sphinx ==4.0.2
- sphinx-copybutton *
- sphinx_markdown_tables >=0.0.16
- sphinx_rtd_theme ==0.5.2
- mmcv-full >=1.5.0
- imagecorruptions *
- scikit-learn *
- scipy *
- e2cnn *
- mmcv *
- mmdet >=2.25.1,<3.0.0
- torch *
- torchvision *
- matplotlib *
- mmcv-full *
- mmdet >=2.25.1,<3.0.0
- numpy *
- pycocotools *
- six *
- terminaltables *
- torch *
- asynctest * test
- codecov * test
- coverage * test
- cython * test
- flake8 * test
- interrogate * test
- isort ==4.3.21 test
- kwarray * test
- matplotlib * test
- pytest * test
- scikit-learn * test
- ubelt * test
- wheel * test
- xdoctest >=0.10.0 test
- yapf * test