Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

You can get the Python Bridge server as part of Saga deliverables which are stored in the Saga&ESUI teams site Artifactory repository here. At the time of writing the latest version of Saga available is 1.3.1. 

...

The current version of Python Bridge where was developed and tested using Python 3.9.5, but any Python 3.9.x version will suffice. At the moment of writing this guide the released version of 3.9 is Python 3.9.5 which you can download from here Python Release Python 3.9.5 | Python.org, please remember to download the 64-bit version of Python, some libraries are no compatible with the 32-bit version and will not work.

...

To be able to use this environment, we need to execute the activate script for this execute using the following command:

For Linux

Code Block
languagetext
themeFadeToGrey
source venv/bin/activate

...

Note

If it's the first time starting Python Bridge, it will download a couple of models, amounts among them BERT base uncased model, which has a size of roughly 4Gb. Python Bridge will not be ready until all the models are downloaded.

Once downloaded, next time you start Python Bridge it will be pretty fast.



Tip

If you do not wish to download the BERT model, go the the config.json file in the config folder and remove the Bert entry under model_types.

If you want to keep the model around for future usage, you can just disabled it by setting the 'enable' flag to false: "enabled": false

Tip

If you want to use Python Bridge with Saga you can check Recognizers documentation.