yolospotseg
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 (16.8%) to scientific vocabulary
Repository
Basic Info
- Host: GitHub
- Owner: Breeze-Cloud
- Language: Python
- Default Branch: main
- Size: 11.5 MB
Statistics
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 0
Metadata Files
README.md
YoloSpotSeg
1. Software Introduction
This repository presents an enhanced implementation based on the YOLOv8 object detection framework. Key improvements include: - Addition of Upsampling Layer: An additional upsampling layer is integrated into the original Yolov8 architecture to enhance segmentation performance for spot - Image Block Partitioning and Fourier Interpolation Preprocessing: A preprocessing pipeline is proposed, which involves partitioning images into blocks and applying Fourier interpolation to optimize input data quality. - Gaussian Diffusion Label Conversion Interface: An interface is provided to convert spot center point labels into instance segmentation labels using a Gaussian diffusion function, improving the model's ability to capture target details.
2. Installation Guide
Requirements
- Python >= 3.8
- PyTorch >= 1.13.1
- CUDA >= 11.6
Example conda environment setup
```bash conda create -n yolospotseg python==3.8 conda activate yolospotseg
Clone repository with submodules
git clone --recurse-submodules https://github.com/yourusername/your-repo.git cd your-repo
pip install torch==1.13.1+cu116 torchvision==0.14.1+cu116 torchaudio==0.13.1 --extra-index-url https://download.pytorch.org/whl/cu116 pip install -r requirements.txt
Install custom modules
pip install -e . ```
3. Usage Example
Its usage is fully consistent with the Yolo model.
Preprocess
bash
python tools/imgSplit/imgSplit.py --pathRoot /path/to/your/dataset --outputDir /path/save/result --splitFactor 4
- pathRoot: The directory path of the dataset to be preprocessed.
- outputDir: The output directory path where the preprocessed files will be saved.
- splitFactor:The factor determining how an image is divided into splitFactor × splitFactor blocks.
Train & valid
```bash from ultralytics import YOLO
Load a model
model = YOLO("your_config.yaml")
Train the model
trainresults = model.train( data="yourdataset.yaml", epochs=100, imgsz=640, )
Evaluate model performance on the validation set
metrics = model.val() ```
Web-based interactive usage
For real-time model inference using pre-trained weights on image data, researchers can directly utilize our web-based analytical tool through aclsfip
4. License
This project is built upon Ultralytics Yolov8 which is licensed under AGPL-3.0.
Code Derivative Statement
This software constitutes a derivative work of the YOLOv8 framework (AGPL-3.0 licensed). All modifications and extensions are expressly released under identical open-source terms, maintaining full compliance with the original license's copyleft provisions.
Non-commercial Nature
This implementation contains no commercial components or monetization mechanisms. The codebase is strictly maintained for academic research and open scientific collaboration purposes.
5. Contact
For technical support: - Corresponding author: Liu Huan - Email: lh2022@stu.xjtu.edu.cn
Owner
- Name: Liu Huan
- Login: Breeze-Cloud
- Kind: user
- Location: Xi'an Shannxi China
- Repositories: 1
- Profile: https://github.com/Breeze-Cloud
Wanna to be a valuable person.
Citation (CITATION.cff)
cff-version: 1.2.0
preferred-citation:
type: software
message: If you use this software, please cite it as below.
authors:
- family-names: Jocher
given-names: Glenn
orcid: "https://orcid.org/0000-0001-5950-6979"
- family-names: Chaurasia
given-names: Ayush
orcid: "https://orcid.org/0000-0002-7603-6750"
- family-names: Qiu
given-names: Jing
orcid: "https://orcid.org/0000-0003-3783-7069"
title: "YOLO by Ultralytics"
version: 8.0.0
# doi: 10.5281/zenodo.3908559 # TODO
date-released: 2023-1-10
license: GPL-3.0
url: "https://github.com/ultralytics/ultralytics"
GitHub Events
Total
- Delete event: 1
- Push event: 2
- Create event: 1
Last Year
- Delete event: 1
- Push event: 2
- Create event: 1
Dependencies
- Flask ==3.0.3
- Mako ==1.3.8
- Markdown ==3.7
- PyWavelets ==1.4.1
- PyYAML ==6.0.2
- Pygments ==2.19.1
- Werkzeug ==3.0.6
- XlsxWriter ==3.2.2
- absl-py ==2.1.0
- aiofiles ==23.2.1
- annotated-types ==0.7.0
- anyio ==4.5.2
- astunparse ==1.6.3
- blinker ==1.8.2
- cachetools ==5.5.0
- certifi ==2024.8.30
- charset-normalizer ==3.4.0
- contourpy ==1.1.1
- cycler ==0.12.1
- deepblink ==0.1.4
- docutils ==0.20.1
- et_xmlfile ==2.0.0
- exceptiongroup ==1.2.2
- fastapi ==0.115.8
- ffmpy ==0.5.0
- flatbuffers ==24.3.25
- fonttools ==4.55.0
- fsspec ==2025.2.0
- gast ==0.4.0
- google-auth ==2.37.0
- google-auth-oauthlib ==1.0.0
- google-pasta ==0.2.0
- grad-cam ==1.4.8
- gradio ==4.44.1
- gradio_client ==1.3.0
- grpcio ==1.68.1
- h11 ==0.14.0
- h5py ==3.11.0
- httpcore ==1.0.7
- httpx ==0.28.1
- huggingface-hub ==0.28.1
- idna ==3.10
- imageio ==2.35.1
- importlib_metadata ==8.5.0
- importlib_resources ==6.4.5
- itsdangerous ==2.2.0
- joblib ==1.4.2
- keras ==2.13.1
- kiwisolver ==1.4.7
- lazy_loader ==0.4
- libclang ==18.1.1
- markdown-it-py ==3.0.0
- matplotlib ==3.7.5
- mdurl ==0.1.2
- networkx ==3.1
- numpy ==1.24.3
- nvidia-cublas-cu11 ==2022.4.8
- nvidia-cublas-cu117 ==11.10.1.25
- nvidia-cuda-runtime-cu11 ==2022.4.25
- nvidia-cuda-runtime-cu117 ==11.7.60
- nvidia-cudnn-cu11 ==2022.5.19
- nvidia-cudnn-cu116 ==8.4.0.27
- nvidia-ml-py ==12.570.86
- nvidia-pyindex ==1.0.9
- nvidia-tensorrt ==8.4.3.1
- nvitop ==1.4.2
- oauthlib ==3.2.2
- opencv-python ==4.10.0.84
- openpyxl ==3.1.5
- opt_einsum ==3.4.0
- orjson ==3.10.15
- pandas ==2.0.3
- platformdirs ==4.3.6
- protobuf ==4.25.5
- psutil ==6.1.0
- pyasn1 ==0.6.1
- pyasn1_modules ==0.4.1
- pycocotools ==2.0.7
- pycuda ==2024.1.2
- pydantic ==2.10.6
- pydantic_core ==2.27.2
- pydub ==0.25.1
- pyparsing ==3.1.4
- python-dateutil ==2.9.0.post0
- python-multipart ==0.0.20
- pytools ==2024.1.14
- pytz ==2024.2
- requests ==2.32.3
- requests-oauthlib ==2.0.0
- rich ==13.9.4
- rsa ==4.9
- ruff ==0.9.6
- scikit-image ==0.21.0
- scikit-learn ==1.3.2
- scipy ==1.10.1
- seaborn ==0.13.2
- semantic-version ==2.10.0
- sentry-sdk ==2.18.0
- shellingham ==1.5.4
- six ==1.16.0
- sniffio ==1.3.1
- starlette ==0.44.0
- statistics ==1.0.3.5
- tensorboard ==2.13.0
- tensorboard-data-server ==0.7.2
- tensorflow ==2.13.1
- tensorflow-estimator ==2.13.0
- tensorflow-io-gcs-filesystem ==0.34.0
- termcolor ==2.4.0
- thop ==0.1.1.post2209072238
- threadpoolctl ==3.5.0
- tifffile ==2023.7.10
- tomlkit ==0.12.0
- torch ==1.13.1
- torchaudio ==0.13.1
- torchvision ==0.14.1
- tqdm ==4.67.0
- ttach ==0.0.3
- typer ==0.15.1
- typing_extensions ==4.12.2
- tzdata ==2024.2
- ultralytics ==8.0.51
- urllib3 ==2.2.3
- uvicorn ==0.33.0
- websockets ==12.0
- wrapt ==1.17.0
- zipp ==3.20.2