This is modified to be used in ImageTrans.
Installation:
- Install Python (version >= 3.8)
- Install dependencies:
pip install -r requirements.txt
- Run the server:
python server.py
Test pages:
To use GPU for inference, you need to do the following:
- Install a Pytorch version with GPU support according to this.
- Create a new file named
use_cuda
in the root of the project to enable CUDA.