Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Task]: The number of epoch is 999 when using EfficentAD I want to change this. #2293

Closed
tamamoto0821 opened this issue Sep 4, 2024 · 1 comment

Comments

@tamamoto0821
Copy link

What is the motivation for this task?

The number of epoch is 999 when using EfficentAD
I want to change this.

Describe the solution you'd like

The number of epoch is 999 when using EfficentAD
I want to change this.

Additional context

The number of epoch is 999 when using EfficentAD
I want to change this.

@samet-akcay
Copy link
Contributor

Are you using CLI or API?

you could set max_epochs argument from the Engine.

CLI

anomalib train --model anomalib.models.EfficientAd --data MVTec --trainer.max_epochs 3

API

from anomalib.data import MVTec
from anomalib.models import EfficientAd
from anomalib.engine import Engine

datamodule = MVTec()
model = EfficientAd()
engine = Engine(max_epochs=10)

engine.train(datamodule=datamodule, model=model)

@openvinotoolkit openvinotoolkit locked and limited conversation to collaborators Sep 4, 2024
@samet-akcay samet-akcay converted this issue into discussion #2294 Sep 4, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants