# Evaluate Process

### Overview

Once the [Evaluate](/user-interface/project/menu-bar/evaluate-a-model.md) button is clicked , a new evaluate process will initiate.

This process will infer your model on all of the provided data, and run Tensorleap analysis on top of it. It:

* Initializes the Preprocess from the [integration script](/tensorleap-integration/writing-integration-code.md).
* Iteratively loads all of your samples, feeds them to the model and calculate all of your metrics, metadata and losses
* Extracts a latent space representation from each sample
* Uses the Tensorleap engine to estimate values on unlabeled data and bulk labelling suggestion

### Resuming an evaluate process

The evaluate process is stateful, so if it failed mid-run due to server instability or any other, non reproducible error, it is possible to continue the evaluation.<br>

To continue a terminated or Failed evaluation, within the runs and processes click the relevant Evaluate job, and click continue.

<figure><img src="/files/JijG8qsW9y5Geh7ZaZlB" alt=""><figcaption><p>Resuming an evaluate process that was terminated</p></figcaption></figure>

### Common Run Issues:

{% hint style="danger" %}
Evaluate mostly fail due to these reasons:

* An evaluation was initiated before [Assets validation](/user-interface/project/network/network-mapping/validate-mapping.md) and assets are not valid.  It is recommended to validate the assets first (and see [common validation issues](/user-interface/project/network/network-mapping/validate-mapping.md)) - and make sure that the connected [code integration](/user-interface/project/network/code-integration.md) is the intended script to use.
* Only a small amount of the samples are able to be parsed using the [integration script](/tensorleap-integration/writing-integration-code.md). Since the Asset Validation only verify a successful ingest of the first sample in the dataset, it might be that other samples return invalid inputs (i.e. different shapes, types) that would cause the evaluate to fail. It is recommended to run the[ integration test](/tensorleap-integration/integration-test.md) on a larger amount of samples to verify validity and ensure all [Tensorleap decoders](/tensorleap-integration/python-api/code_loader/decorators.md) are static - i.e. return the same shape and type for every sample. It is highly advised to ensure [metadata](/tensorleap-integration/writing-integration-code/metadata-function.md) return flat dictionaries for every sample with the same type per value.
* OOM in evaluate. please adjust the limits in the [settings](/user-interface/settings.md) page.
* Server shutdown in the middle of evaluate or any other instability. It is possible to [resume](#resuming-an-evaluate-process) the evaluate.
  {% endhint %}


---

# 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://docs.tensorleap.ai/user-interface/project/menu-bar/runs-and-processes/process-types/evaluate-process.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.
