Skip to content

nixczhou/yolo-keras

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to install

conda create -y -n keras-jax python=3.10
conda activate keras-jax
pip install -r requirements-jax-cuda.txt

Change Backbone

Refer: https://keras.io/api/keras_cv/models/tasks/yolo_v8_detector/

# Create the model with mobilenet backbone
model = keras_cv.models.YOLOV8Detector.from_preset(
    num_classes=20,
    bounding_box_format="xywh",
    preset="mobilenet_v3_large",
)
# Can load pretrained weight if needed
model = keras_cv.models.YOLOV8Detector.from_preset(
    num_classes=20,
    bounding_box_format="xywh",
    preset="mobilenet_v3_large_imagenet",
    load_weights=True,
)

Run Example Train

python train.py

Full Tutorial with Default Yolov8 Backbone

Link: https://keras.io/examples/vision/yolov8/

About

YOLOv8 Keras with Backbone Change

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages