Science Score: 44.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found 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 (11.9%) to scientific vocabulary
Repository
UDAOD
Basic Info
Statistics
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
HFDNet
Introduction
This is our PyTorch implementation of the paper "[Hierarchical Feature Differentiation-guided Network for domain adaptation object detection].
Dataset Preparing
``bash
Cityscapes → Foggy Cityscapes
Cityscapes: https://www.cityscapes-dataset.com/downloads/
Images leftImg8bittrainvaltest.zip (11GB) [md5].
`Annotations gtFinetrainvaltest.zip (241MB) [md5].
Foggy CityScapes: https://www.cityscapes-dataset.com/downloads/.
Images leftImg8bit_trainval_foggyDBF.zip (20GB) [md5].
Annotations are the same with CityScapes.
Sim10K → Cityscapes
Sim10K : https://fcav.engin.umich.edu/projects/driving-in-the-matrix
Pascal VOC → Clipart1k
PascalVOC(2007+2012): follow the scripts in .dataset/VOC.yaml to build VOC datasets.
Clipart1k: https://github.com/naoto0804/cross-domain-detection.
Public power data
CPLID: https://github.com/InsulatorData/InsulatorDataSet.
VPMBGI: https://github.com/phd-benel/VPMBGI.
# IDID: https://ieee-dataport.org/competitions/insulator-defect-detection.
🔔 '.yaml' file is in https://drive.google.com/drive/folders/1aqQfeHzpxAiJBeITXhvD-Bw0PZnLeeP0 ```
Weight
Since github can't upload large files, we uploaded the weights of the four benchmark tasks to the Google Drive
Quick Start Examples
Install
```bash
clone the project and configure the environment.
git clone https://github.com/LiuJiaji1999/HFDNet.git
the version of ultralytics is '8.2.50'
GPU-NVIDIA GeForce RTX 3090
CPU-12th Gen Intel(R) Core(TM) i9-12900
python: 3.8.18
torch: 1.12.0+cu113
torchvision: 0.13.0+cu113
numpy: 1.22.3
```
Test & Detect
bash
python val.py
python detect.py
Train
```bash python train.py
nohup python train.py > /home/lenovo/data/liujiaji/powerGit/dayolo/logs/improve/c2f.log 2>&1 & tail -f /home/lenovo/data/liujiaji/powerGit/dayolo/logs/improve/c2f.log
```
Dual-input
```bash /ultralytics/models/yolo/model.py /ultralytics/models/yolo/detect/init.py /ultralytics/models/yolo/detect/udatrain.py /ultralytics/data/udabuild.py # load dataset def udabuilddataloader /ultralytics/nn/udatasks.py # update model structure /ultralytics/engine/udatrainer.py # update trainer /ultralytics/utils/daca.py # compute loss /ultralytics/engine/validator.py # loss /ultralytics/cfg/default.yaml # add weight value /ultralytics/nn/modules/head.py # head pseudo /ultralytics/utils/plotting.py # outputtotarget
```
Explanation of the file
```bash
Main scripts
train.py: script to train the model val.py: script that calculates metrics using the trained model detect.py: inference script
Other scripts
distill.py: distill script export.py: export onnx scripts gap.py: /gap getFPS.py: script to calculate model storage size, model inference time-FPS heatmap.py: script to generate heat map mainprofile.py : a script that outputs the model and the parameters and calculations for each layer of the model track.py : script to track inference ```
References
Reference code links are all HERE, thanks to the spirit of open source.
Owner
- Name: EleanorTT
- Login: LiuJiaji1999
- Kind: user
- Repositories: 1
- Profile: https://github.com/LiuJiaji1999
Citation (CITATION.cff)
# This CITATION.cff file was generated with https://bit.ly/cffinit
cff-version: 1.2.0
title: Ultralytics YOLO
message: >-
If you use this software, please cite it using the
metadata from this file.
type: software
authors:
- given-names: Glenn
family-names: Jocher
affiliation: Ultralytics
orcid: 'https://orcid.org/0000-0001-5950-6979'
- given-names: Ayush
family-names: Chaurasia
affiliation: Ultralytics
orcid: 'https://orcid.org/0000-0002-7603-6750'
- family-names: Qiu
given-names: Jing
affiliation: Ultralytics
orcid: 'https://orcid.org/0000-0003-3783-7069'
repository-code: 'https://github.com/ultralytics/ultralytics'
url: 'https://ultralytics.com'
license: AGPL-3.0
version: 8.0.0
date-released: '2023-01-10'
GitHub Events
Total
- Push event: 2
Last Year
- Push event: 2
Dependencies
- pytorch/pytorch 2.3.1-cuda12.1-cudnn8-runtime build
- transformers *
- ultralytics *
- matplotlib >=3.3.0
- numpy >=1.23.0,<2.0.0
- opencv-python >=4.6.0
- pandas >=1.1.4
- pillow >=7.1.2
- psutil *
- py-cpuinfo *
- pyyaml >=5.3.1
- requests >=2.23.0
- scipy >=1.4.1
- seaborn >=0.11.0
- torch >=1.8.0
- torchvision >=0.9.0
- tqdm >=4.64.0
- ultralytics-thop >=2.0.0
- causal_conv1d >=1.2.0
- einops *
- ninja *
- packaging *
- torch *
- transformers *
- triton *
- einops *
- ninja *
- packaging *
- torch *