Перейти к основному содержимому

No Internet

If you're deploying Compressa in private network without internet access, the Compressa Team provided you with the GDrive link to archive with needed resources to run the model.

The archive can be downloaded with command line tools like gdown or directly from browser.

Download resources

gdown --fuzzy https://drive.google.com/file/d/<FILE_ID>/view?usp=sharing  -O data.tar.gz

Unarchive resources

tar -xvf data.tar.gz
chmod 777 -R data

Set environment variable

Set the RESOURCE_PATH environment variable to the data folder from archive.

export RESOURCES_PATH=./data

Run Compressa as usual. The model will be available from the first run without need to download.