Jetson Nano - Yolov7

정우영·2023년 8월 6일
0

On Jetson Nano
i tried to install yolov7 and applying this but it didn't work

At frist i tired this Git
https://github.com/RizwanMunawar/yolov7-object-tracking

But on Jetson Nano.. python version is 3.69 so i cant do this

i fount some different route
https://i7y.org/en/yolov7-on-jetson-nano/

this explain how to install yolov7 on Jetson-nano

To begin, we need to install the PyTorch library available in python 3.8, as well as the YOLOv5 article. The difficult part ends here!

https://i7y.org/en/pytorch-build-on-jetson-nano/

  1. Error : pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
    launchpadlib 1.10.6 requires testresources, which is not installed.
    -> sudo apt install python3-testresources

  2. Error : CMake Error at third_party/tensorpipe/cmake/Finduv.cmake:43 (add_subdirectory):
    The source directory

    /home/woo/yolov7-object-tracking/pytorch/third_party/tensorpipe/third_party/libuv

    does not contain a CMakeLists.txt file.

    -> failed

Return at First
https://github.com/RizwanMunawar/yolov7-object-tracking
And Try -> pip install requirements.txt
Then Error occured

  1. matplotlib (matplotlib>=3.2.2) ->
    pip install --upgrade pip setuptools wheel
    pip install numpy==1.19.4
    pip install matplotli

  2. protobuf (protobuf==4.21.6) but below version is OK ->
    modify requriements.txt : protobuf==4.21.6 ->#protobuf==4.21.6
    pip install protobuf

  3. ERROR: Command errored out with exit status 1:
    command: /home/woo/yolov7-object-tracking/yolov7objtracking/bin/python3 /home/woo/yolov7-object-tracking/yolov7objtracking/lib/python3.6/site-packages/pip/_vendor/pep517/in_process/_in_process.py build_wheel /tmp/tmptqjvd_5s
    cwd: /tmp/pip-install-f8anszws/opencv-python_34ad7ee32bca4bcdbe0ec1c048849e58
    Complete output (2062 lines):


    Trying 'Ninja' generator







    --
    ->
    pip install scikit-build

  1. Aborted (core dumped)
    -> pip3 install opencv-contrib-python==4.5.3.56
    ->export OPENBLAS_CORETYPE=ARMV8

Complete!

0개의 댓글