# How to improve Model performance?

Getting the best model performance for your business can be a rather iterative process. Results can vary depending on the customizations you make to the model, and the training data you provide.

To help facilitate this process, **AI Builder** allows you to have **multiple versions of your model** so you can use your model and continue to improve it at the same time.

### What are some best practices for training for object detection?

* **Use diverse images** to train with all possible use cases. For example if you are training your data to detect a VR headset, use images of the headset used in different environments as well as the out of the box images. If you only train with images with people wearing the headset, your model would not recognize images of the same device when it is in its box.

![Headset training data in different environments and varied objects](/files/-MJQVkdanZgRN0DFADtw)

![HoloLens training data](/files/-MJQW1hedOICE34pzPxW)

* Use images with variety of **backgrounds.** Photos in context are better than  photos in front of the neutral backgrounds.

![HoloLens and VR headset data with different background](/files/-MJQWQ7z3W-lAYdoU-95)

* Use training images that have different **lighting**. For example, include images images taken with flash, high exposure, and so on.

![HoloLens training data with low light](/files/-MJQWfi-ybvAFsbqV2b5)

* Use images of objects in varied sizes. Different sizing helps the model generalize better.
* Use images taken from different **angles**. If all your photos are from a set of fixed cameras such as surveillance cameras, assign a different label to each camera. This can help avoid modeling unrelated objects such as lampposts as the key feature. Assign camera labels even if the cameras capture the same objects.

![HoloLens training image with different size and angle](/files/-MJQXERhB0rmz69MvkvV)

### How to share your models?

By default, only you can see the models you create and publish. This feature allows you to test them and use them within apps and flows without exposing them.

If you want others to use your model, you can share it with specific users, groups, or your whole organization.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://www.xrdev.app/mixed-reality-docs/ai-lessons/fundamental-ai-concepts/project/how-to-create-an-application-with-ai-whiteout-coding/how-to-improve-model-performance.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
