question

HankChengHanWHQWistron-5648 avatar image
0 Votes"
HankChengHanWHQWistron-5648 asked YutongTie-MSFT edited

About BanditPolicy

Hello

After read BanditPolicy doc description, I still had no idea what it is.
Please help to explain more in detail.
Or provide a simple example to illustrate.

I have a request to compare local yolov5 method.
But it seems there is different earlystopping method.
So the training epoch are different.

How to fix azure AutoML yolov5 training epoch?

Thanks!

azure-custom-vision
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@HankChengHanWHQWistron-5648

Sorry for your experience, I just fnd one piece sample about how to use yolov5, please refer to below sample - it's in second half part. Starting from below screenshot:

192855-image.png

https://github.com/Azure/azureml-examples/blob/main/python-sdk/tutorials/automl-with-azureml/image-object-detection/auto-ml-image-object-detection.ipynb

I am sorry again for lacking this sample, if you checked above sample and you feel further help needed, please let me know, I am willing to provide a support ticket for you to assign a support engineer help with your scenario one on one. Thanks for your understanding.

Regards,
Yutong


0 Votes 0 ·
image.png (159.8 KiB)

1 Answer

HankChengHanWHQWistron-5648 avatar image
0 Votes"
HankChengHanWHQWistron-5648 answered

Hello

Thanks for your prompt reply.

But I just want to focus on BanditPolicy for earlystopping.

 "early_termination_policy": BanditPolicy(
     evaluation_interval=2, slack_factor=0.2, delay_evaluation=6

After check azure doc, I still had no idea how to setting these parameters.
Would you help a simple example to illustrate.

Furthermore, how do I set the config that make only train 100 epochs?

Thanks

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.