Skip to content

Using the "RMSProp" optimizer when training the YoloV11 model #1013

Open
@alon-12345

Description

Search before asking

Question

I would like to use the “RMSprop” optimizer, when training the YoloV11 model, but I did not understand how to set the parameters “rho” (Decay rate for RMSProp) and “epsilon” (constant to prevent division by zero) by myself.
When using the Ultralytics API for training and specifying parameters as:

model.train(data="data.yaml",
device=0,
epochs=400,
optimizer="RMSprop",
batch=16,
lr0=0.001,
lrf=0.01,
weight_decay=0.0001,
momentum=0.9,
rho=0.9,
epsilon=1e-8,
workers=8,
single_cls=True,
degrees=45,
perspective=0.001,
erasing=0.0,
mosaic=0,
multi_scale=True,
patience=30)

I am getting an error message that “rho” and “epsilon” are not valid parameters for training YoloV11 model.

Additional

No response

Metadata

Assignees

No one assigned

    Labels

    detectObject Detection issues, PR'squestionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions