UnitedPongs

Untitled

Mar 13th, 2025 (edited)
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.22 KB | None | 0 0
  1. * https://docs.cvat.ai/docs/administration/basics/installation/#mac-os-mojave
  2. * git clone https://github.com/cvat-ai/cvat
  3. * cd cvat
  4. * download and install docker from their website
  5. * docker compose up -d
  6. * docker exec -it cvat_server bash -ic 'python3 ~/manage.py createsuperuser'
  7. * with transT
  8. * build OpenVINO for arm64: https://github.com/openvinotoolkit/openvino/blob/master/docs/dev/build_mac_arm.md
  9. * brew install cmake scons fdupes git-lfs ninja
  10. * brew install tbb pugixml flatbuffers snappy protobuf
  11. * git clone https://github.com/openvinotoolkit/openvino.git
  12. * cd openvino
  13. * pipenv shell
  14. * python3 -m pip install -r ./src/bindings/python/requirements.txt
  15. * python3 -m pip install -r ./src/bindings/python/wheel/requirements-dev.txt
  16. * git submodule update --init
  17. * mkdir build && cd build
  18. * cmake -G "Ninja Multi-Config" -DENABLE_SYSTEM_PUGIXML=ON -DENABLE_SYSTEM_SNAPPY=ON -DENABLE_SYSTEM_PROTOBUF=ON ..
  19. * cmake --build . --config Release --parallel $(sysctl -n hw.ncpu)
  20. * All built binaries are located in <openvino_source_dir>/bin/<arm64 | intel64>/Release/ and wheel packages are located in <openvino_build_dir>/wheels.
  21. * (Optional install) Once you have built OpenVINO, you can install artifacts to a preferred location:
  22. * cmake -DCMAKE_INSTALL_PREFIX=<installation location> -P cmake_install.cmake
  23. * i think this was a wild goose chase
  24. * https://docs.cvat.ai/docs/administration/advanced/installation_automatic_annotation/
  25. * brew install wget
  26. * wget https://github.com/nuclio/nuclio/releases/download/1.13.0/nuctl-1.13.0-linux-amd64 (tried arm64 version, and also darwin)
  27. * sudo chmod +x nuctl-1.13.0-linux-amd64
  28. * sudo ln -sf $(pwd)/nuctl-1.13.0-linux-amd64 /usr/local/bin/nuctl
  29. * https://docs.cvat.ai/docs/manual/advanced/serverless-tutorial/
  30. * docker compose -f docker-compose.yml -f docker-compose.dev.yml -f components/serverless/docker-compose.serverless.yml up -d --build
  31. * realpath: illegal option -- -
  32. * realpath is for bash, so need to use bash instead of zsh
  33. * shopt: globstar: invalid shell option name
  34. * change to using bash5.2 installed from brew
  35. * https://apple.stackexchange.com/questions/291287/globstar-invalid-shell-option-name-on-macos-even-with-bash-4-x?newreg=5c93c126d11c49da8578deb818af1141
  36. * add shebang to cvat/components/serverless/docker-compose.serverless.yml:
  37. * #!/opt/homebrew/Cellar/bash/5.2.37/bin/bash
  38. * ERROR: No matching distribution found for torch==1.7.1+cpu
  39. * did grep -Ril "torch==1.7.1+cpu" .
  40. * this is from cvat/serverless/pytorch/dschoerk/transt/nuclio/function.yaml
  41. * changed to torch==1.7.1
  42. * ERROR: No matching distribution found for torchvision==0.8.2
  43. * changed to torchvision==0.9.1
  44. * the thing ran, but transT doesn’t seem to work properly: tracking is way off
  45.  
  46. /serverless/deploy_gpu.sh serverless/pytorch/dschoerk/transt/nuclio
  47.  
Advertisement
Add Comment
Please, Sign In to add comment