> For the complete documentation index, see [llms.txt](https://facegsm.gitbook.io/facegsm-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://facegsm.gitbook.io/facegsm-documentation/facegsm/checkpoint-option.md).

# Checkpoint Option

## Description

FaceGSM will save the generated **perturbation layer** to be used on the next attacking process.

* **Checkpoint** feature can increase the efficiency of multiple attacking process with same **target** face.
* Optionally, **checkpoint** feature can be use in **static mode** and **capture mode**. But, by default used in **live mode**.

<figure><img src="/files/h7T8wOUTXadVEuBw92sL" alt=""><figcaption><p>Checkpoint Option Program Flow</p></figcaption></figure>

## Example Scenario

### Initial Attack

{% code overflow="wrap" %}

```bash
$ python3 facegsm.py static --original ./path/to/original.png --target ./path/to/target.png
```

{% endcode %}

### Future Attack

{% code overflow="wrap" %}

```bash
$ python3 facegsm.py static --original ./path/to/original.png --target ./path/to/target.png --checkpoint
```

{% endcode %}
