pkg download command and patches
This commit is contained in:
23
assets/var/gnu/unitprint/backend/scan/DocScanner.md
Normal file
23
assets/var/gnu/unitprint/backend/scan/DocScanner.md
Normal file
@ -0,0 +1,23 @@
|
||||
unitprint/backend/scan/DocScanner
|
||||
=
|
||||
https://root-kit.ru/UnitPrint/scan-DocScanner.git
|
||||
|
||||
``` sh *** build ***
|
||||
mv * ..
|
||||
```
|
||||
|
||||
``` sh *** config ***
|
||||
ln -sf /pkg/gnu/unitprint/backend/scan/venv
|
||||
source venv/bin/activate
|
||||
pip install pip setuptools wheel
|
||||
ROCM_SDK_TARGETS="gfx1150" pip install torch torchvision --index-url https://download.pytorch.org/whl/rocm7.14
|
||||
pip install numpy opencv-python Pillow scikit-image tqdm natsort matplotlib
|
||||
```
|
||||
|
||||
``` sh *** upload_weights ***
|
||||
source venv/bin/activate
|
||||
pip install gdown
|
||||
gdown --folder "https://drive.google.com/drive/folders/1W1_DJU8dfEh6FqDYqFQ7ypR38Z8c5r4D"
|
||||
mkdir -p model_pretrained
|
||||
mv DocScanner-L-Model/*.pth model_pretrained/
|
||||
```
|
||||
Reference in New Issue
Block a user