# move to multi stage docker build to avoid submit it to git
python -m grpc_tools.protoc -I ./pb --python_betterproto_out=grpc_servers/ultralytics/pb/ pb/ultralytics.proto
python -m grpc_tools.protoc -I ./pb --python_betterproto_out=pb/ pb/ultralytics.protocp util/matcher.py grpc_servers/ultralytics/util
cd grpc_servers/ultralytics
pytest -vv tests/server_test.py| environment | default | comment |
|---|---|---|
| ULTRALYTICS_HOST | 0.0.0.0 | listen host |
| ULTRALYTICS_PORT | 18912 | listen port |
| ULTRALYTICS_MODEL_DIR | models | where the models located |