I can't get the onnx file after runing the export-det.py script

Hello,
I have runed the export-det.py without any errors but there is no .onnx file saved.
I use:
tensorrt 8.2
Cuda 10.2
Could you tell me why i can't get the onnx file after runing the export-det.py script?
Thank you

Hello,
I have runed the export-det.py without any errors but there is no .onnx file saved.
I use: tensorrt 8.2 Cuda 10.2
Could you tell me why i can't get the onnx file after runing the export-det.py script?
Thank you

The onnx will be exported in the same path as your pt model.

So, as there is no onnx file in the same path , this meens that there is an error or problem?

So, as there is no onnx file in the same path , this meens that there is an error or problem?
by the way, there is no print "ONNX export success, saved as    " in the cmd.

Could you please add some print line for debug

It seems save path work not well.
Could you pease try:
    def main(args):
        b = args.input_shape[0]
        YOLOv8 = YOLO(args.weights)
        model = YOLOv8.model.fuse().eval()
        for m in model.modules():
            optim(m)
            m.to(args.device)
        model.to(args.device)
        fake_input = torch.randn(args.input_shape).to(args.device)
        print("################fake input #############", fake_input)
        for _ in range(2):
            model(fake_input)
        save_path = args.weights.replace('.pt', '.onnx')
        print("################save path #############", save_path)
        torch.onnx.export(
                model,
                fake_input,
                save_path,
                opset_version=args.opset,
                input_names=['images'],
                output_names=['num_dets', 'bboxes', 'scores', 'labels'])

@triple-Mu
Even with this modification, i get the same problem. Code stops at save_path.

@triple-Mu
Even with this modification, i get the same problem. Code stops at save_path.

Ok.Do you export on jetson？
Suggest you export on your pc and then copy onnx to jetson.

no i am exporting in my PC.
python 3.8
CUDA 10.2
tensorrt            <IP_ADDRESS>
torch               1.10.1+cu102
torchvision         0.11.2+cu102
it is the same environement as the jetson.

no i am exporting in my PC.
python 3.8
CUDA 10.2
tensorrt            <IP_ADDRESS>
torch               1.10.1+cu102
torchvision         0.11.2+cu102
it is the same environement as the jetson.

How about using docker？

Docker in jetson?
The inference with docker in jetson will be good????
I am afraid that we lose gpu power with docker because jetson is already small!!!!!

Docker in jetson? The inference with docker in jetson will be good???? I am afraid that we lose gpu power with docker because jetson is already small!!!!!

Just using docker for exporting onnx.

I will try to do this.
I keep you informed
Thank you @triple-Mu

@triple-Mu
now it works well on jetson.
I get the .onnx and .engin files.
I runed the cmake and got the files.
but when i run the make comande, i get this errors:
            make
            Scanning dependencies of target yolov8
            [ 50%] Building CXX object CMakeFiles/yolov8.dir/main.cpp.o
            In file included from /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/main.cpp:5:
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/yolov8.hpp: In constructor ‘YOLOv8::YOLOv8(const string&)’:
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/yolov8.hpp:73:2: error: ‘cudaStreamCreate’ was not declared in this scope
              cudaStreamCreate(&this->stream);
              ^~~~~~~~~~~~~~~~
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/yolov8.hpp:73:2: note: suggested alternative: ‘cudaStream_t’
              cudaStreamCreate(&this->stream);
              ^~~~~~~~~~~~~~~~
              cudaStream_t
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/yolov8.hpp: In destructor ‘YOLOv8::~YOLOv8()’:
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/yolov8.hpp:114:25: warning: ‘void nvinfer1::IExecutionContext::destroy()’ is deprecated [-Wdeprecated-declarations]
              this->context->destroy();
                                     ^
            In file included from /usr/include/aarch64-linux-gnu/NvInfer.h:54,
                             from /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:10,
                             from /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/yolov8.hpp:7,
                             from /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/main.cpp:5:
            /usr/include/aarch64-linux-gnu/NvInferRuntime.h:1888:25: note: declared here
                 TRT_DEPRECATED void destroy() noexcept
                                     ^~~~~~~
            In file included from /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/main.cpp:5:
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/yolov8.hpp:115:24: warning: ‘void nvinfer1::ICudaEngine::destroy()’ is deprecated [-Wdeprecated-declarations]
              this->engine->destroy();
                                    ^
            In file included from /usr/include/aarch64-linux-gnu/NvInfer.h:54,
                             from /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:10,
                             from /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/yolov8.hpp:7,
                             from /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/main.cpp:5:
            /usr/include/aarch64-linux-gnu/NvInferRuntime.h:1434:25: note: declared here
                 TRT_DEPRECATED void destroy() noexcept
                                     ^~~~~~~
            In file included from /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/main.cpp:5:
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/yolov8.hpp:116:25: warning: ‘void nvinfer1::IRuntime::destroy()’ is deprecated [-Wdeprecated-declarations]
              this->runtime->destroy();
                                     ^
            In file included from /usr/include/aarch64-linux-gnu/NvInfer.h:54,
                             from /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:10,
                             from /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/yolov8.hpp:7,
                             from /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/main.cpp:5:
            /usr/include/aarch64-linux-gnu/NvInferRuntime.h:712:25: note: declared here
                 TRT_DEPRECATED void destroy() noexcept
                                     ^~~~~~~
            In file included from /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/main.cpp:5:
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/yolov8.hpp:117:2: error: ‘cudaStreamDestroy’ was not declared in this scope
              cudaStreamDestroy(this->stream);
              ^~~~~~~~~~~~~~~~~
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/yolov8.hpp:117:2: note: suggested alternative: ‘cudaStream_t’
              cudaStreamDestroy(this->stream);
              ^~~~~~~~~~~~~~~~~
              cudaStream_t
            In file included from /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/yolov8.hpp:7,
                             from /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/main.cpp:5:
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:15:11: error: ‘cudaError_t’ does not name a type; did you mean ‘cudaEvent_t’?
                 const cudaError_t error_code = call;              \
                       ^~~~~~~~~~~
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:15:11: note: in definition of macro ‘CHECK’
                 const cudaError_t error_code = call;              \
                       ^~~~~~~~~~~
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:16:9: error: ‘error_code’ was not declared in this scope
                 if (error_code != cudaSuccess)                    \
                     ^~~~~~~~~~
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:16:9: note: in definition of macro ‘CHECK’
                 if (error_code != cudaSuccess)                    \
                     ^~~~~~~~~~
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:16:9: note: suggested alternative:
                 if (error_code != cudaSuccess)                    \
                     ^~~~~~~~~~
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:16:9: note: in definition of macro ‘CHECK’
                 if (error_code != cudaSuccess)                    \
                     ^~~~~~~~~~
            In file included from /usr/include/c++/8/bits/ios_base.h:46,
                             from /usr/include/c++/8/ios:42,
                             from /usr/include/c++/8/istream:38,
                             from /usr/include/c++/8/fstream:38,
                             from /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/yolov8.hpp:6,
                             from /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/main.cpp:5:
            /usr/include/c++/8/system_error:146:10: note:   ‘std::error_code’
               struct error_code
                      ^~~~~~~~~~
            In file included from /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/yolov8.hpp:7,
                             from /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/main.cpp:5:
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:16:23: error: ‘cudaSuccess’ was not declared in this scope
                 if (error_code != cudaSuccess)                    \
                                   ^~~~~~~~~~~
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:16:23: note: in definition of macro ‘CHECK’
                 if (error_code != cudaSuccess)                    \
                                   ^~~~~~~~~~~
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:16:23: note: suggested alternative: ‘euidaccess’
                 if (error_code != cudaSuccess)                    \
                                   ^~~~~~~~~~~
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:16:23: note: in definition of macro ‘CHECK’
                 if (error_code != cudaSuccess)                    \
                                   ^~~~~~~~~~~
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:23:13: error: ‘cudaGetErrorString’ was not declared in this scope
                         cudaGetErrorString(error_code));          \
                         ^~~~~~~~~~~~~~~~~~
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:23:13: note: in definition of macro ‘CHECK’
                         cudaGetErrorString(error_code));          \
                         ^~~~~~~~~~~~~~~~~~
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:15:11: error: ‘cudaError_t’ does not name a type; did you mean ‘cudaEvent_t’?
                 const cudaError_t error_code = call;              \
                       ^~~~~~~~~~~
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:15:11: note: in definition of macro ‘CHECK’
                 const cudaError_t error_code = call;              \
                       ^~~~~~~~~~~
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:16:9: error: ‘error_code’ was not declared in this scope
                 if (error_code != cudaSuccess)                    \
                     ^~~~~~~~~~
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:16:9: note: in definition of macro ‘CHECK’
                 if (error_code != cudaSuccess)                    \
                     ^~~~~~~~~~
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:16:9: note: suggested alternative:
                 if (error_code != cudaSuccess)                    \
                     ^~~~~~~~~~
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:16:9: note: in definition of macro ‘CHECK’
                 if (error_code != cudaSuccess)                    \
                     ^~~~~~~~~~
            In file included from /usr/include/c++/8/bits/ios_base.h:46,
                             from /usr/include/c++/8/ios:42,
                             from /usr/include/c++/8/istream:38,
                             from /usr/include/c++/8/fstream:38,
                             from /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/yolov8.hpp:6,
                             from /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/main.cpp:5:
            /usr/include/c++/8/system_error:146:10: note:   ‘std::error_code’
               struct error_code
                      ^~~~~~~~~~
            In file included from /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/yolov8.hpp:7,
                             from /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/main.cpp:5:
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:16:23: error: ‘cudaSuccess’ was not declared in this scope
                 if (error_code != cudaSuccess)                    \
                                   ^~~~~~~~~~~
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:16:23: note: in definition of macro ‘CHECK’
                 if (error_code != cudaSuccess)                    \
                                   ^~~~~~~~~~~
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:16:23: note: suggested alternative: ‘euidaccess’
                 if (error_code != cudaSuccess)                    \
                                   ^~~~~~~~~~~
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:16:23: note: in definition of macro ‘CHECK’
                 if (error_code != cudaSuccess)                    \
                                   ^~~~~~~~~~~
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:23:13: error: ‘cudaGetErrorString’ was not declared in this scope
                         cudaGetErrorString(error_code));          \
                         ^~~~~~~~~~~~~~~~~~
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:23:13: note: in definition of macro ‘CHECK’
                         cudaGetErrorString(error_code));          \
                         ^~~~~~~~~~~~~~~~~~
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/yolov8.hpp: In member function ‘void YOLOv8::make_pipe(bool)’:
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:15:11: error: ‘cudaError_t’ does not name a type; did you mean ‘cudaEvent_t’?
                 const cudaError_t error_code = call;              \
                       ^~~~~~~~~~~
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:15:11: note: in definition of macro ‘CHECK’
                 const cudaError_t error_code = call;              \
                       ^~~~~~~~~~~
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:16:9: error: ‘error_code’ was not declared in this scope
                 if (error_code != cudaSuccess)                    \
                     ^~~~~~~~~~
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:16:9: note: in definition of macro ‘CHECK’
                 if (error_code != cudaSuccess)                    \
                     ^~~~~~~~~~
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:16:9: note: suggested alternative:
                 if (error_code != cudaSuccess)                    \
                     ^~~~~~~~~~
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:16:9: note: in definition of macro ‘CHECK’
                 if (error_code != cudaSuccess)                    \
                     ^~~~~~~~~~
            In file included from /usr/include/c++/8/bits/ios_base.h:46,
                             from /usr/include/c++/8/ios:42,
                             from /usr/include/c++/8/istream:38,
                             from /usr/include/c++/8/fstream:38,
                             from /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/yolov8.hpp:6,
                             from /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/main.cpp:5:
            /usr/include/c++/8/system_error:146:10: note:   ‘std::error_code’
               struct error_code
                      ^~~~~~~~~~
            In file included from /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/yolov8.hpp:7,
                             from /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/main.cpp:5:
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:16:23: error: ‘cudaSuccess’ was not declared in this scope
                 if (error_code != cudaSuccess)                    \
                                   ^~~~~~~~~~~
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:16:23: note: in definition of macro ‘CHECK’
                 if (error_code != cudaSuccess)                    \
                                   ^~~~~~~~~~~
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:16:23: note: suggested alternative: ‘euidaccess’
                 if (error_code != cudaSuccess)                    \
                                   ^~~~~~~~~~~
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:16:23: note: in definition of macro ‘CHECK’
                 if (error_code != cudaSuccess)                    \
                                   ^~~~~~~~~~~
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:23:13: error: ‘cudaGetErrorString’ was not declared in this scope
                         cudaGetErrorString(error_code));          \
                         ^~~~~~~~~~~~~~~~~~
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:23:13: note: in definition of macro ‘CHECK’
                         cudaGetErrorString(error_code));          \
                         ^~~~~~~~~~~~~~~~~~
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:15:11: error: ‘cudaError_t’ does not name a type; did you mean ‘cudaEvent_t’?
                 const cudaError_t error_code = call;              \
                       ^~~~~~~~~~~
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:15:11: note: in definition of macro ‘CHECK’
                 const cudaError_t error_code = call;              \
                       ^~~~~~~~~~~
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:16:9: error: ‘error_code’ was not declared in this scope
                 if (error_code != cudaSuccess)                    \
                     ^~~~~~~~~~
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:16:9: note: in definition of macro ‘CHECK’
                 if (error_code != cudaSuccess)                    \
                     ^~~~~~~~~~
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:16:9: note: suggested alternative:
                 if (error_code != cudaSuccess)                    \
                     ^~~~~~~~~~
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:16:9: note: in definition of macro ‘CHECK’
                 if (error_code != cudaSuccess)                    \
                     ^~~~~~~~~~
            In file included from /usr/include/c++/8/bits/ios_base.h:46,
                             from /usr/include/c++/8/ios:42,
                             from /usr/include/c++/8/istream:38,
                             from /usr/include/c++/8/fstream:38,
                             from /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/yolov8.hpp:6,
                             from /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/main.cpp:5:
            /usr/include/c++/8/system_error:146:10: note:   ‘std::error_code’
               struct error_code
                      ^~~~~~~~~~
            In file included from /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/yolov8.hpp:7,
                             from /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/main.cpp:5:
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:16:23: error: ‘cudaSuccess’ was not declared in this scope
                 if (error_code != cudaSuccess)                    \
                                   ^~~~~~~~~~~
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:16:23: note: in definition of macro ‘CHECK’
                 if (error_code != cudaSuccess)                    \
                                   ^~~~~~~~~~~
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:16:23: note: suggested alternative: ‘euidaccess’
                 if (error_code != cudaSuccess)                    \
                                   ^~~~~~~~~~~
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:16:23: note: in definition of macro ‘CHECK’
                 if (error_code != cudaSuccess)                    \
                                   ^~~~~~~~~~~
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:23:13: error: ‘cudaGetErrorString’ was not declared in this scope
                         cudaGetErrorString(error_code));          \
                         ^~~~~~~~~~~~~~~~~~
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:23:13: note: in definition of macro ‘CHECK’
                         cudaGetErrorString(error_code));          \
                         ^~~~~~~~~~~~~~~~~~
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:15:11: error: ‘cudaError_t’ does not name a type; did you mean ‘cudaEvent_t’?
                 const cudaError_t error_code = call;              \
                       ^~~~~~~~~~~
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:15:11: note: in definition of macro ‘CHECK’
                 const cudaError_t error_code = call;              \
                       ^~~~~~~~~~~
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:16:9: error: ‘error_code’ was not declared in this scope
                 if (error_code != cudaSuccess)                    \
                     ^~~~~~~~~~
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:16:9: note: in definition of macro ‘CHECK’
                 if (error_code != cudaSuccess)                    \
                     ^~~~~~~~~~
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:16:9: note: suggested alternative:
                 if (error_code != cudaSuccess)                    \
                     ^~~~~~~~~~
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:16:9: note: in definition of macro ‘CHECK’
                 if (error_code != cudaSuccess)                    \
                     ^~~~~~~~~~
            In file included from /usr/include/c++/8/bits/ios_base.h:46,
                             from /usr/include/c++/8/ios:42,
                             from /usr/include/c++/8/istream:38,
                             from /usr/include/c++/8/fstream:38,
                             from /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/yolov8.hpp:6,
                             from /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/main.cpp:5:
            /usr/include/c++/8/system_error:146:10: note:   ‘std::error_code’
               struct error_code
                      ^~~~~~~~~~
            In file included from /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/yolov8.hpp:7,
                             from /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/main.cpp:5:
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:16:23: error: ‘cudaSuccess’ was not declared in this scope
                 if (error_code != cudaSuccess)                    \
                                   ^~~~~~~~~~~
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:16:23: note: in definition of macro ‘CHECK’
                 if (error_code != cudaSuccess)                    \
                                   ^~~~~~~~~~~
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:16:23: note: suggested alternative: ‘euidaccess’
                 if (error_code != cudaSuccess)                    \
                                   ^~~~~~~~~~~
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:16:23: note: in definition of macro ‘CHECK’
                 if (error_code != cudaSuccess)                    \
                                   ^~~~~~~~~~~
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:23:13: error: ‘cudaGetErrorString’ was not declared in this scope
                         cudaGetErrorString(error_code));          \
                         ^~~~~~~~~~~~~~~~~~
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:23:13: note: in definition of macro ‘CHECK’
                         cudaGetErrorString(error_code));          \
                         ^~~~~~~~~~~~~~~~~~
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:15:11: error: ‘cudaError_t’ does not name a type; did you mean ‘cudaEvent_t’?
                 const cudaError_t error_code = call;              \
                       ^~~~~~~~~~~
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:15:11: note: in definition of macro ‘CHECK’
                 const cudaError_t error_code = call;              \
                       ^~~~~~~~~~~
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:16:9: error: ‘error_code’ was not declared in this scope
                 if (error_code != cudaSuccess)                    \
                     ^~~~~~~~~~
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:16:9: note: in definition of macro ‘CHECK’
                 if (error_code != cudaSuccess)                    \
                     ^~~~~~~~~~
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:16:9: note: suggested alternative:
                 if (error_code != cudaSuccess)                    \
                     ^~~~~~~~~~
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:16:9: note: in definition of macro ‘CHECK’
                 if (error_code != cudaSuccess)                    \
                     ^~~~~~~~~~
            In file included from /usr/include/c++/8/bits/ios_base.h:46,
                             from /usr/include/c++/8/ios:42,
                             from /usr/include/c++/8/istream:38,
                             from /usr/include/c++/8/fstream:38,
                             from /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/yolov8.hpp:6,
                             from /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/main.cpp:5:
            /usr/include/c++/8/system_error:146:10: note:   ‘std::error_code’
               struct error_code
                      ^~~~~~~~~~
            In file included from /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/yolov8.hpp:7,
                             from /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/main.cpp:5:
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:16:23: error: ‘cudaSuccess’ was not declared in this scope
                 if (error_code != cudaSuccess)                    \
                                   ^~~~~~~~~~~
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:16:23: note: in definition of macro ‘CHECK’
                 if (error_code != cudaSuccess)                    \
                                   ^~~~~~~~~~~
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:16:23: note: suggested alternative: ‘euidaccess’
                 if (error_code != cudaSuccess)                    \
                                   ^~~~~~~~~~~
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:16:23: note: in definition of macro ‘CHECK’
                 if (error_code != cudaSuccess)                    \
                                   ^~~~~~~~~~~
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:23:13: error: ‘cudaGetErrorString’ was not declared in this scope
                         cudaGetErrorString(error_code));          \
                         ^~~~~~~~~~~~~~~~~~
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:23:13: note: in definition of macro ‘CHECK’
                         cudaGetErrorString(error_code));          \
                         ^~~~~~~~~~~~~~~~~~
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/yolov8.hpp: In member function ‘void YOLOv8::copy_from_Mat(const cv::Mat&)’:
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:15:11: error: ‘cudaError_t’ does not name a type; did you mean ‘cudaEvent_t’?
                 const cudaError_t error_code = call;              \
                       ^~~~~~~~~~~
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:15:11: note: in definition of macro ‘CHECK’
                 const cudaError_t error_code = call;              \
                       ^~~~~~~~~~~
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:16:9: error: ‘error_code’ was not declared in this scope
                 if (error_code != cudaSuccess)                    \
                     ^~~~~~~~~~
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:16:9: note: in definition of macro ‘CHECK’
                 if (error_code != cudaSuccess)                    \
                     ^~~~~~~~~~
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:16:9: note: suggested alternative:
                 if (error_code != cudaSuccess)                    \
                     ^~~~~~~~~~
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:16:9: note: in definition of macro ‘CHECK’
                 if (error_code != cudaSuccess)                    \
                     ^~~~~~~~~~
            In file included from /usr/include/c++/8/bits/ios_base.h:46,
                             from /usr/include/c++/8/ios:42,
                             from /usr/include/c++/8/istream:38,
                             from /usr/include/c++/8/fstream:38,
                             from /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/yolov8.hpp:6,
                             from /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/main.cpp:5:
            /usr/include/c++/8/system_error:146:10: note:   ‘std::error_code’
               struct error_code
                      ^~~~~~~~~~
            In file included from /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/yolov8.hpp:7,
                             from /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/main.cpp:5:
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:16:23: error: ‘cudaSuccess’ was not declared in this scope
                 if (error_code != cudaSuccess)                    \
                                   ^~~~~~~~~~~
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:16:23: note: in definition of macro ‘CHECK’
                 if (error_code != cudaSuccess)                    \
                                   ^~~~~~~~~~~
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:16:23: note: suggested alternative: ‘euidaccess’
                 if (error_code != cudaSuccess)                    \
                                   ^~~~~~~~~~~
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:16:23: note: in definition of macro ‘CHECK’
                 if (error_code != cudaSuccess)                    \
                                   ^~~~~~~~~~~
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:23:13: error: ‘cudaGetErrorString’ was not declared in this scope
                         cudaGetErrorString(error_code));          \
                         ^~~~~~~~~~~~~~~~~~
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:23:13: note: in definition of macro ‘CHECK’
                         cudaGetErrorString(error_code));          \
                         ^~~~~~~~~~~~~~~~~~
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/yolov8.hpp: In member function ‘void YOLOv8::copy_from_Mat(const cv::Mat&, cv::Size&)’:
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:15:11: error: ‘cudaError_t’ does not name a type; did you mean ‘cudaEvent_t’?
                 const cudaError_t error_code = call;              \
                       ^~~~~~~~~~~
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:15:11: note: in definition of macro ‘CHECK’
                 const cudaError_t error_code = call;              \
                       ^~~~~~~~~~~
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:16:9: error: ‘error_code’ was not declared in this scope
                 if (error_code != cudaSuccess)                    \
                     ^~~~~~~~~~
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:16:9: note: in definition of macro ‘CHECK’
                 if (error_code != cudaSuccess)                    \
                     ^~~~~~~~~~
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:16:9: note: suggested alternative:
                 if (error_code != cudaSuccess)                    \
                     ^~~~~~~~~~
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:16:9: note: in definition of macro ‘CHECK’
                 if (error_code != cudaSuccess)                    \
                     ^~~~~~~~~~
            In file included from /usr/include/c++/8/bits/ios_base.h:46,
                             from /usr/include/c++/8/ios:42,
                             from /usr/include/c++/8/istream:38,
                             from /usr/include/c++/8/fstream:38,
                             from /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/yolov8.hpp:6,
                             from /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/main.cpp:5:
            /usr/include/c++/8/system_error:146:10: note:   ‘std::error_code’
               struct error_code
                      ^~~~~~~~~~
            In file included from /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/yolov8.hpp:7,
                             from /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/main.cpp:5:
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:16:23: error: ‘cudaSuccess’ was not declared in this scope
                 if (error_code != cudaSuccess)                    \
                                   ^~~~~~~~~~~
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:16:23: note: in definition of macro ‘CHECK’
                 if (error_code != cudaSuccess)                    \
                                   ^~~~~~~~~~~
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:16:23: note: suggested alternative: ‘euidaccess’
                 if (error_code != cudaSuccess)                    \
                                   ^~~~~~~~~~~
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:16:23: note: in definition of macro ‘CHECK’
                 if (error_code != cudaSuccess)                    \
                                   ^~~~~~~~~~~
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:23:13: error: ‘cudaGetErrorString’ was not declared in this scope
                         cudaGetErrorString(error_code));          \
                         ^~~~~~~~~~~~~~~~~~
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:23:13: note: in definition of macro ‘CHECK’
                         cudaGetErrorString(error_code));          \
                         ^~~~~~~~~~~~~~~~~~
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/yolov8.hpp: In member function ‘void YOLOv8::infer()’:
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:15:11: error: ‘cudaError_t’ does not name a type; did you mean ‘cudaEvent_t’?
                 const cudaError_t error_code = call;              \
                       ^~~~~~~~~~~
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:15:11: note: in definition of macro ‘CHECK’
                 const cudaError_t error_code = call;              \
                       ^~~~~~~~~~~
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:16:9: error: ‘error_code’ was not declared in this scope
                 if (error_code != cudaSuccess)                    \
                     ^~~~~~~~~~
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:16:9: note: in definition of macro ‘CHECK’
                 if (error_code != cudaSuccess)                    \
                     ^~~~~~~~~~
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:16:9: note: suggested alternative:
                 if (error_code != cudaSuccess)                    \
                     ^~~~~~~~~~
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:16:9: note: in definition of macro ‘CHECK’
                 if (error_code != cudaSuccess)                    \
                     ^~~~~~~~~~
            In file included from /usr/include/c++/8/bits/ios_base.h:46,
                             from /usr/include/c++/8/ios:42,
                             from /usr/include/c++/8/istream:38,
                             from /usr/include/c++/8/fstream:38,
                             from /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/yolov8.hpp:6,
                             from /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/main.cpp:5:
            /usr/include/c++/8/system_error:146:10: note:   ‘std::error_code’
               struct error_code
                      ^~~~~~~~~~
            In file included from /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/yolov8.hpp:7,
                             from /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/main.cpp:5:
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:16:23: error: ‘cudaSuccess’ was not declared in this scope
                 if (error_code != cudaSuccess)                    \
                                   ^~~~~~~~~~~
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:16:23: note: in definition of macro ‘CHECK’
                 if (error_code != cudaSuccess)                    \
                                   ^~~~~~~~~~~
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:16:23: note: suggested alternative: ‘euidaccess’
                 if (error_code != cudaSuccess)                    \
                                   ^~~~~~~~~~~
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:16:23: note: in definition of macro ‘CHECK’
                 if (error_code != cudaSuccess)                    \
                                   ^~~~~~~~~~~
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:23:13: error: ‘cudaGetErrorString’ was not declared in this scope
                         cudaGetErrorString(error_code));          \
                         ^~~~~~~~~~~~~~~~~~
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/common.hpp:23:13: note: in definition of macro ‘CHECK’
                         cudaGetErrorString(error_code));          \
                         ^~~~~~~~~~~~~~~~~~
            In file included from /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/main.cpp:5:
            /home/jetson/Desktop/Car_and_Motorcycle_tracking_using_Yolov8_on_JetsonNano/csrc/jetson/detect/./include/yolov8.hpp:320:2: error: ‘cudaStreamSynchronize’ was not declared in this scope
              cudaStreamSynchronize(this->stream);
              ^~~~~~~~~~~~~~~~~~~~~
            make[2]: *** [CMakeFiles/yolov8.dir/build.make:63: CMakeFiles/yolov8.dir/main.cpp.o] Error 1
            make[1]: *** [CMakeFiles/Makefile2:76: CMakeFiles/yolov8.dir/all] Error 2
            make: *** [Makefile:84: all] Error 2

I am not good in c and c++.
Do you have an idea about these errors?

cudaSuccess

You can try to update you gcc/g++.
sudo apt install gcc-9
sudo apt install g++-9

@triple-Mu Hope you are doing well.
I re-flashed the ssd card to solve the previous problem but I ran into another problem.
Now converting the model from .pt to .onnx works fine. But when I launch the creation of the engine /usr/src/tensorrt/bin/trtexec --onnx=./yolo_model/yolov8n_best.onnx --saveEngine=yolov8n_best.engine --fp16
I get this error:
  [05/05/2023-09:44:42] [I] [TRT] [MemUsageChange] Init cuDNN: CPU +241, GPU +315, now: CPU 635, GPU 3873 (MiB)
  [05/05/2023-09:44:42] [W] [TRT] Detected invalid timing cache, setup a local cache instead
  [05/05/2023-09:46:03] [I] [TRT] Some tactics do not have sufficient workspace memory to run. Increasing workspace size may   increase performance, please check verbose output.
  [05/05/2023-09:54:04] [I] [TRT] [MemUsageChange] Init cuBLAS/cuBLASLt: CPU +0, GPU +0, now: CPU 899, GPU 3818   (MiB)
  [05/05/2023-09:54:04] [E] Error[2]: [pluginV2DynamicExtRunner.cpp::execute::115] Error Code 2: Internal Error (Assertion status == kSTATUS_SUCCESS failed.)
  [05/05/2023-09:54:04] [E] Error[2]: [builder.cpp::buildSerializedNetwork::417] Error Code 2: Internal Error (Assertion enginePtr != nullptr failed.)
 Segmentation fault (core dumped)

ENVS:
Jetpack 4.6.3
CUDA-10.2
CUDNN-8.2.1
TensorRT-8.0.1
DeepStream-6.0.1
OpenCV-4.2.0
CMake-3.16

Do you have an idea about the problem?
Thank you so much.

If your RAM is lower than 4gb, please remove --fp16 and add --workspace=4196 (size of your RAM MB)

even with --workspace=3000 i get an error
      05/05/2023-10:14:53] [W] [TRT] Skipping tactic 3 due to oom error on requested size of 1590 detected for tactic 4.

      [05/05/2023-10:16:41] [E] Error occurred during inference

&&&& FAILED TensorRT.trtexec [TensorRT v8001] # /usr/src/tensorrt/bin/trtexec --onnx=./yolo_model/yolov8n_best.onnx     --saveEngine=yolov8n_best.engine --workspace=3000
[05/05/2023-10:16:41] [I] [TRT] [MemUsageChange] Init cuBLAS/cuBLASLt: CPU +0, GPU +0, now: CPU 887, GPU 3370 (MiB)
when i check free -h
jetson@nano:~$ free -h
total        used        free      shared  buff/cache   available
Mem:          3,9Gi       2,8Gi       669Mi       5,0Mi       451Mi       1,4Gi
Swap:         7,9Gi       694Mi       7,3Gi
is there any other program that uses almost all the RAM?

even with --workspace=3000 i get an error
      05/05/2023-10:14:53] [W] [TRT] Skipping tactic 3 due to oom error on requested size of 1590 detected for tactic 4.

      [05/05/2023-10:16:41] [E] Error occurred during inference
      &&&& FAILED TensorRT.trtexec [TensorRT v8001] # /usr/src/tensorrt/bin/trtexec --onnx=./yolo_model/yolov8n_best.onnx         --saveEngine=yolov8n_best.engine --workspace=3000
      [05/05/2023-10:16:41] [I] [TRT] [MemUsageChange] Init cuBLAS/cuBLASLt: CPU +0, GPU +0, now: CPU 887, GPU 3370 (MiB)

when i check free -h jetson@nano:~$ free -h total used free shared buff/cache available Mem: 3,9Gi 2,8Gi 669Mi 5,0Mi 451Mi 1,4Gi Swap: 7,9Gi 694Mi 7,3Gi
is there any other program that uses almost all the RAM?

Sorry for not replying to your message in time!
Suggest you upgrade your jetpack to 4.6.3.
If the situation doesn't improve, try reducing the input size

closed, feel free to reopen it if you have further questions. Thanks!


feat: Add Map helpers

RelatedTo: https://github.com/goravel/goravel/issues/82
📑 Description
This pull request introduces a set of map helper methods to enhance map manipulation in Go.
Supported Methods

Add: Add an element to a map using “dot” notation if it doesn't exist.
Dot: Flatten a map using dot notation.
Exists: Check if the given key exists in the provided map (only top level).
Forget: Remove a given key or keys from the provided map.
Get: Retrieve an item from an object using "dot" notation.
Has: Check if the given key or keys exist in the provided map.
HasAny: Check if any of the given keys exist in the provided map.
Only: Return the items in the map with the specified keys.
Pull: Return a new map with the specified keys removed.
Set: Set an element to a map using “dot” notation.

✅ Checks

[x] My pull request adheres to the code style of this project
[x] My code requires changes to the documentation
[ ] I have updated the documentation as required
[x] All the tests have passed

Hi Bro, If this PR is ready for review, please add the Review Ready tag.

As we discussed, I can't implement nested key feature for all cases. So I am not working this feature anymore.

Some of the methods are good, don't you want to merge them?


Paginated: Highlighting in paginated grid doesn't work

Description
Highlighting doesn't work in paginated grid.
Used the same test file with the same data set only changing the grid to paginated.
Highlighting works fine in the regular grid, but no highlights in paginated grid.
Version
Data-grid: V 1.1.11
Screenshots

Code
https://gist.github.com/ppeyro/7214d08505fe619696f78981f651f0c9

Reverified this in V1.2.4.  Highlighting works fine in paginated now.


java.lang.InternalError: Malformed class name on jmh:run

Currently trying to run previously built/running benchmarks with sbt-jmh and appears to fail with a runtime error.  I have tried turning the example into something simple, which may help in reproducing.
scala version: 2.11.4
sbt version: 0.13.7
sbt-jmh version: 0.2.6 (also tried with 0.2.4, and it fails there now also)
The project is a multi-module project, where there is a benchmarks module containing the jmh benchmarks and has the JmhPlugin enabled.
Below, is a simple benchmark that can be run, in isolation:
package foo.bar

import org.openjdk.jmh.annotations.Benchmark

class Benchmarks {
  @Benchmark
  def helloWorldBench(): Unit = {
  }
}

If we put this file in the same directory, then we get the error seen below:
package foo.bar
object Bar {
  object Hello {
    //Note: if we move the trait below out of Hello, but within Bar it "fixes"
    trait Something
  }
}

Here is the general error observed:
[info] Compiling 1 Scala source to ...
Processing 140 classes from /.../target/scala-2.11/classes with "reflection" generator
Writing out Java source to /.../target/scala-2.11/src_managed/jmh and resources to /.../target/scala-2.11/resource_managed/jmh
Annotation generator had thrown the exception.
java.lang.InternalError: Malformed class name
    at java.lang.Class.getSimpleName(Class.java:1330)
    at java.lang.Class.getCanonicalName(Class.java:1399)
    at org.openjdk.jmh.generators.reflection.RFClassInfo.getQualifiedName(RFClassInfo.java:67)
    at org.openjdk.jmh.generators.core.BenchmarkGenerator.buildAnnotatedSet(BenchmarkGenerator.java:226)
    at org.openjdk.jmh.generators.core.BenchmarkGenerator.generate(BenchmarkGenerator.java:85)
    at org.openjdk.jmh.generators.bytecode.JmhBytecodeGenerator.main(JmhBytecodeGenerator.java:100)
    at pl.project13.scala.sbt.JmhPlugin$.pl$project13$scala$sbt$JmhPlugin$$internalGenerateBenchmarkSourcesAndResources(JmhPlugin.scala:91)
    at pl.project13.scala.sbt.JmhPlugin$$anonfun$2.apply(JmhPlugin.scala:74)
    at pl.project13.scala.sbt.JmhPlugin$$anonfun$2.apply(JmhPlugin.scala:72)
    at sbt.FileFunction$$anonfun$cached$1.apply(Tracked.scala:186)
    at sbt.FileFunction$$anonfun$cached$1.apply(Tracked.scala:186)
    at sbt.FileFunction$$anonfun$cached$2$$anonfun$apply$3$$anonfun$apply$4.apply(Tracked.scala:200)
    at sbt.FileFunction$$anonfun$cached$2$$anonfun$apply$3$$anonfun$apply$4.apply(Tracked.scala:196)
    at sbt.Difference.apply(Tracked.scala:175)
    at sbt.Difference.apply(Tracked.scala:157)
    at sbt.FileFunction$$anonfun$cached$2$$anonfun$apply$3.apply(Tracked.scala:196)
    at sbt.FileFunction$$anonfun$cached$2$$anonfun$apply$3.apply(Tracked.scala:195)
    at sbt.Difference.apply(Tracked.scala:175)
    at sbt.Difference.apply(Tracked.scala:151)
    at sbt.FileFunction$$anonfun$cached$2.apply(Tracked.scala:195)
    at sbt.FileFunction$$anonfun$cached$2.apply(Tracked.scala:193)
    at pl.project13.scala.sbt.JmhPlugin$.pl$project13$scala$sbt$JmhPlugin$$generateBenchmarkSourcesAndResources(JmhPlugin.scala:76)
    at pl.project13.scala.sbt.JmhPlugin$$anonfun$projectSettings$9.apply(JmhPlugin.scala:42)
    at pl.project13.scala.sbt.JmhPlugin$$anonfun$projectSettings$9.apply(JmhPlugin.scala:42)
    at scala.Function1$$anonfun$compose$1.apply(Function1.scala:47)
    at sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:40)
    at sbt.std.Transform$$anon$4.work(System.scala:63)
    at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:226)
    at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:226)
    at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:17)
    at sbt.Execute.work(Execute.scala:235)
    at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:226)
    at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:226)
    at sbt.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestrictions.scala:159)
    at sbt.CompletionService$$anon$2.call(CompletionService.scala:28)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)

After trying to reproduce with similar code above, in an isolated environment was not able to reproduce.  I will try to get a small, accurate reproducer and attach it to this issue or I will close the issue.

Updated the description with more specific steps towards basic reproduction.  This may be a known issue, but as it stands now is highly cryptic.  Maybe there is something that sbt-jmh can provide to make it less so.

Perhaps this is the root cause? https://issues.scala-lang.org/browse/SI-2034

It appears, that calling getCanonicalName on doubly nested (in objects) traits isn't something that Scala likes.

Yeah that's exactly the thing I was thinking about.
I think the fact of nesting inside classes already causes tricky name problems.
I'm not sure sbt-jmh is able to do anything about it, since it does not even own the thread (nor even jvm!) that this error will come up on...
I can't come up with a way to help out from my end on this one... would you mind if we close as scala issue?

I guess there is no way in JmhPlugin.scala to at least report the file that is providing the issue?

I don't really see how we could, if people google for it they'll find this issue.
I'll close for now. Thanks for the research though!

Also having the same problem. Unfortunately, the codebase I tried this on is huge and I cannot spend too much time on this. Sad to see that SI-2034 is still not solved.

@jrudnick while the exception does not inform you which class throws the exception, you can attach a debugger to an SBT task (for example in IntelliJ) and set a breakpoint at java/lang/Class.java line 1330 to inspect the name of the class that is allegedly malformed.

In my case it was an enumeratum object.

  sealed trait Status extends EnumEntry

  object Status extends Enum[Status] {

    val values: scala.collection.immutable.IndexedSeq[Status] = findValues

    case object Draft extends Status
    ...
  }

java.lang.Class:1330
simpleName had value Draft$ which breaks the simpleName.charAt(0) != '$' condition.

Is this ever going to be fixed?


New blog post: Subtype type classes don't work

Scheduled for Friday Sept 30.

@adelbertc Feel free to merge when you're ready!

@larsrh Sounds good, I'll do it tomorrow to give some others a chance to look at it in case I messed anything up.

Merged! Thanks all!


Fork package

Updates various links to point to this fork, and fixes broken Travis pipeline by installing and running Cassandra.

Oops, sorry, didn't mean to send this to the base repo!


Add Youtube Music Support

Everything from
www.youtube.com/*
is on youtube music
music.youtube.com/*
youtube-sr or any other scraper, should be able to scrape from there..

Volcano already supports playing YouTube music URLs, but not ytmsearch. I have been awaiting a response for a feature request to play-dl, but there hasn't been much activity on play-dl. I'll look into another extractor for ytmsearch, but youtube music has already been supported for a long time

have you tried using this library?
https://www.npmjs.com/package/ytmusic-api
@PapiOphidian

Closed in https://github.com/AmandaDiscord/Volcano/commit/2bc84ead934e0ec8dac2c35a85e50e1af0a3d06b


Rename package to rgoogleslides

According to an internal vote, we would be renaming the googleslides R package to rgoogleslides R package

Package has been renamed. Issue will be closed


Consider creating ClientAssertionCredential and implementing WorkloadIdentityCredential in terms of it

Other languages like .NET and GoLang have this credential. We can start with this being private implementation detail of WIC and turn it to be public once there is a customer need for it in C++.
https://github.com/Azure/azure-sdk-for-net/blob/a932f53e2fc200cee443614a0bf991b02b518055/sdk/identity/Azure.Identity/src/Credentials/ClientAssertionCredential.cs#L18
https://github.com/Azure/azure-sdk-for-go/blob/e7968b534c61da1e38a683e21ac690deb14833c7/sdk/azidentity/client_assertion_credential.go#L26
WIC composing CAC:
https://github.com/Azure/azure-sdk-for-go/blob/e7968b534c61da1e38a683e21ac690deb14833c7/sdk/azidentity/workload_identity.go#L28
cc @chlowell

This is needed for https://github.com/Azure/azure-sdk-for-cpp/issues/4968

Hmm, since #4968 is closed, is it possible to expose this class for compatibility with the C# SDK?

We are looking for scenarios where customers would need a ClientAssertionCredential, exposed publicly in C++.
Can you please share details on how you'd use it and what your requirements are for using this credential in C++? What's motivating the need for C# compatibility?

We are adding Azure support as a plugin to librdkafka Kafka client library. Some of the users of the library are using federated credentials, not just pure MSI, to have more fine-grained access control (as far as I understand)


fix: Support private properties from parent class in DocBlockAnnotations and TypedProperties

Fixes #158

Coverage: 99.773% (+0.002%) from 99.771% when pulling 4f038505e7ca661d23bb66d70c12c51461451ce4 on Fix-158 into 4bbee99f84d710b473effb476508c091a0ae0a8b on develop.


[1.12] Crash when opening crafting grid

Issue description:
It does not happen always. But when I open the crafting grid, there are no buttons on the left side (sorting, redstone, grid size etc.) the game hangs for a second and then it shuts down internal server and goes to desktop.
Version (make sure you are on the latest version before reporting):

Minecraft: 1.12
Forge: 2443
Refined Storage: 1.5.14

If a (crash)log is relevant for this issue, link it here:
https://pastebin.com/8PPGcC37

Duplicate of #1410, a bug which I fixed today.

I updated to 1.5.16 but it still happens. I also noticed now that my regular inventory shows as empty when opening the grid just before it crashes.
https://pastebin.com/AqSdnAAx

Same here withe refinedstorage-1.5.16.jar.
NPE when updating screen events.
https://www.dropbox.com/s/0pnoerwf7gova5h/crash-2017-08-11_10.15.52-client.txt?dl=1

same here on 1.5.16, opening crafting grid, inventory looks empty just before crashing
https://pastebin.com/QA3tcBZc

Thanks for the crashreports guys, that crash is for issue #1416.
I'll look into it tomorrow.


DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-archive-test-target_2af4c701-bcb2-46a6-8020-2b045e7d58b7/pull/1 is merged into live branch.
Auto archive content to https://github.com/VSC-Service-Account/docs-archive-test-target_2af4c701-bcb2-46a6-8020-2b045e7d58b7.git

Docs Build status updates of commit 4f41eed:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error-UserAccountBuildPermissionInsufficientError] Owner v-alji no longer has Read permission of the repository https://github.com/VSC-Service-Account/docs-archive-test-source. It might be due to recent GitHub changes on SSO. Please ask the owner v-alji to logon to Docs Portal https://ops.microsoft.com once again. If it is not the case, please ask anyone of Admin permission of the repo to assign a new owner via Docs Portal https://ops.microsoft.com

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit 4f41eed:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error-UserAccountBuildPermissionInsufficientError] Owner v-alji no longer has Read permission of the repository https://github.com/VSC-Service-Account/docs-archive-test-source. It might be due to recent GitHub changes on SSO. Please ask the owner v-alji to logon to Docs Portal https://ops.microsoft.com once again. If it is not the case, please ask anyone of Admin permission of the repo to assign a new owner via Docs Portal https://ops.microsoft.com

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Sound Shutter/lag in recorded File

I just tried to record a livestream what worked very well. The file was written with "Written 232.2 MB (5m10s @ 739.7 KB/s)".
i noticed followin by playing the file with VLC:

On the beginning of each record I have an 15 secon ad (this is fine for me)
after closing the record or stream ending, i checked the files an every record on every stream has a shuttering sound
I also noticed: the voice is much deeper then in real life or on livestream.
also tried with ffmpg disabled

My Setup:

Win 10
Python 3.9
streamlink
ffmpg
Recording to SSD
0% Usage of SSD while recording
20% Usage of CPU while recording

[cli][info] Found matching plugin twitch for URL twitch.tv/gronkh
[cli][info] Available streams: audio_only, 160p (worst), 360p, 480p, 720p, 720p60, 1080p60 (best)
[cli][info] Opening stream: 1080p60 (hls)
[download][..oy - FREiAB18   ff6.mp4] Written 368.1 MB (8m8s @ 738.5 KB/s)

Tried to fix with:
ffmpeg -err_detect ignore_err -i video.mkv -c copy video_fixed.mkv
this only fixed the lengh of the file and not the sound problem

I don't know why the bitrate is so low, I have a 1Gbps Download.
Why do the sound shutter/lag

Do anyone have an idea? I searched for hours and found nothing helpfull

i've been having similar problems, i always have ffmpeg disabled and noticed problem since ads were embedded.

sometimes the 13 second ad screen will just loop constantly and kodi/smplayer/vlc can't get passed it.
as you found running it through ffmpeg will alter the voices.

i did find a program to fix individual streams but its windows based and not free but it does work with wine.
TS-Doctor €34.9.
though a problem afterwards is i have to turn off adjust refresh rate in kodi or my TV will keep changing modes.
if someone finds a better way i would be interested in trying it.

Okay I found the solution by try and error.
Just Change this line and i don't have any problem:
["streamlink", "--twitch-oauth-token", self.access_token, "twitch.tv/" + self.username,
 self.quality, "-o", recorded_filename])

you have to add following parameter:
--twitch-disable-ads
The line after adding this looks like:
["streamlink", "--twitch-disable-ads", "--twitch-oauth-token", self.access_token, "twitch.tv/" + self.username,
 self.quality, "-o", recorded_filename])

last time i tried that command it kept splitting the stream into separate files, have they fixed that?

last time i tried that command it kept splitting the stream into separate files, have they fixed that?

This do the trick for me, no splitting the files.
Maybe it will split the files, if twitch plays mid rolls.

I had the same issues as @DerSani1988 . His/Her solution worked for me as well (--twitch-disable-ads).
Does anybody know how to fix already recorded streams? TS-Doctor didn't really work for me. Maybe User error?
PS @DerSani1988 : Kam bisschen überraschend hier plötzlich FREiAB18 zu lesen. Bin wohl nicht der Einzige. :)

I'm also looking for a software to clean up my files. I can't use TS Doctor because it gives me an error.
Would the V.O.D. be fixable using ffmpeg?

I had the same issues as @DerSani1988 . His/Her solution worked for me as well (--twitch-disable-ads).
Does anybody know how to fix already recorded streams? TS-Doctor didn't really work for me. Maybe User error?

Sadly I don't have "corrupted" files left to test.
What I mentioned is, that a cutting tool called LosslessCut have replayed the sound correct, So maybe it is worth to give it a try and reexport the file. Another solution may be to convert the file.
If you can send me a short file (5-10 Minutes) I can try some ways to restore the sound (You can cut out the segment with LosslessCut)

I'm also looking for a software to clean up my files. I can't use TS Doctor because it gives me an error.
Would the V.O.D. be fixable using ffmpeg?

As I mentioned above to @Stefomat

PS @DerSani1988 : Kam bisschen überraschend hier plötzlich FREiAB18 zu lesen. Bin wohl nicht der Einzige. :)

Hey, ja genau, seit der DMCA-Geschichte bei Twitch werden leider keine VODs gespeichert und somit fehlt mir das Ritual am Wochenende den nicht gesehenen Part (gerade die Talks) nachzuschauen ^^

If you can send me a short file (5-10 Minutes) I can try some ways to restore the sound (You can cut out the segment with LosslessCut)

Here is a link to a 5 minute clip of distorded voice : https://mab.to/eOEMqODpx (230 MB)
In VNC it stutters every other second. In LosslessCut it doesn't stutter, but the voice is still distorded in the preview. I have no clue as to what to do in LosslessCut to fix the voice. I will be trying things, but you may find the solution very much quickier than me ^^.

Here is a link to a 5 minute clip of distorded voice : https://mab.to/eOEMqODpx (230 MB)
In VNC it stutters every other second. In LosslessCut it doesn't stutter, but the voice is still distorded in the preview. I have no clue as to what to do in LosslessCut to fix the voice. I will be trying things, but you may find the solution very much quickier than me ^^.

Do you have a short clip of the accurate voice so i can test the pitching of the voice.

@DerSani1988
Finally i had the time to upload my samples.
First file:
Cut out with LosslessCut, voice distorded in VLC, MPC-HC and LosslessCut Preview
https://www.dropbox.com/s/1cog9iab4sc88vf/gronkh - 2020-11-01 19h18m22s -  Heute ab 19 Uhr wieder HUNDE BEOBACHTEN  ff6-<IP_ADDRESS>8-<IP_ADDRESS>.mp4?dl=0
Second file:
A complete recording, but starting in the middle of the stream (internet went down, it continued recording to a new file).
You can see the 15 second ad section in the beginning.
https://www.dropbox.com/s/s86g6qa3m8j5eyq/gronkh - 2020-11-07 02h26m03s - Freitag 1830 Uhr FREiAB18  Assassins Creed Valhalla 20 Uhr  ff6.mp4?dl=0
I guess for this streamer you don't need a known good example of his voice? ^^
Thanks.

Here is the  public VOD from which it came I think : https://www.twitch.tv/videos/805889919

I was very busy lately and I come back to twitch ads messing with a lot of things. Well I merged the pull request with the --twitch-disable-ads parameter.
As for the "voice is much deeper" issue, unfortunately I will not be able to look into it right now since I am still very busy but might be a matter of adjusting/adding parameters to the processing of the recorded file maybe? Or is it deeper before file is processed?

deeper after ffmpeg processing.

I was very busy lately and I come back to twitch ads messing up things...
Well I merged the pull request with the --twitch-disable-ads parameter.
As for the "voice is much deeper" issue, unfortunately I will not be able to look into it right now since I am still very busy still but might be a matter of adjusting/adding parameters to the processing of the recorded file maybe? Or is it deeper before file is processed?

I didn't check before processing. But this idea is worth to look into it.
I've tested:

reencode with ffmpeg
reencode with other tools
change video speed

All the same result:

Voice still laggy (in VLC)
Voice much deeper

I had no time to look deeper but I'll try some things.

For me it didn't matter if ffmpeg processing was enabled or disabled (--disable-ffmpeg),
it always gave me the same distorded results.
Using the option "--twitch-disable-ads" solved all related problems - stuttering, deep voice, crashing VLC.
Small detail i just remember: VLC always crashes at the exact moment the ad countdown (see my uploads) is over and the normal video starts.

For me it didn't matter if ffmpeg processing was enabled or disabled (--disable-ffmpeg),
it always gave me the same distorded results.
I can confirm this

Using the option "--twitch-disable-ads" solved all related problems - stuttering, deep voice, crashing VLC.
Correct but I assume that more people are still looking for a fix for previously recorded files

Small detail i just remember: VLC always crashes at the exact moment the ad countdown (see my uploads) is over and the normal video starts.
Only sometimes for me

I can fix previous recorded files when reencoding with handbrake.

I can fix previous recorded files when reencoding with handbrake.

Yes partially, I tried this and this will fix the sound lags but not the deeper pitched voice

I can fix previous recorded files when reencoding with handbrake.

Yes partially, I tried this and this will fix the sound lags but not the deeper pitched voice

I can't detect any deeper pitched voice. Perhaps the difference is small and my ears are too old.

I sure can.
You can use the links i posted a couple of days ago. Both have the problem with the deep voice.

First file:
Cut out with LosslessCut, voice distorded in VLC, MPC-HC and LosslessCut Preview
https://www.dropbox.com/s/1cog9iab4sc88vf/gronkh - 2020-11-01 19h18m22s -  Heute ab 19 Uhr wieder HUNDE BEOBACHTEN  ff6-<IP_ADDRESS>8-<IP_ADDRESS>.mp4?dl=0
Second file:
A complete recording, but starting in the middle of the stream (internet went down, it continued recording to a new file).
You can see the 15 second ad section in the beginning.
https://www.dropbox.com/s/s86g6qa3m8j5eyq/gronkh - 2020-11-07 02h26m03s - Freitag 1830 Uhr FREiAB18  Assassins Creed Valhalla 20 Uhr  ff6.mp4?dl=0

For comparison you can listen to the official VODs from Twitch:
https://www.twitch.tv/gronkh/videos?filter=archives&sort=time
If you need more examples or information, just get in touch.


Updated to Support Reading/Writing to/from Streams

Added bits for Windows Support (needs reviewing)
Added more Tests to the ZipTest Program
Added a copy of the ZipExtensions that we use in Xamarin.Android
to the ZipTest. We might want to look into adding these to the API?

Please move ZipArchiveExtensions directly to ZipArchive, add /// docs and then it LGTM :)


Confusion about memory of pointers

I am trying to understand more about pointers in Triton. In the matmul tutorial it is shown how to construct 2D pointers, pointing to a block in a tensor. Furthermore we use tl.zeros() to construct an  empty tensor that we fill with the result of tl.dot().
What I don't quite get is where in memory these values live and how I can manipulate them. For instance, is it possible to construct a pointer "piece-by-piece", e.g., start with [[a], [m], [x]] and then iteratively add slices to obtain [[a, b, c], [m, n, o], [x, y, z]] without having to write and load from a buffer? Here, I would like to obtain the slices [[b], [n], [y]] and [[c], [o], [z]] from memory using tl.load(). Furthermore, where are the values of the tl.zeros() matrix stored?
I was not able to find good resources on this, should I have missed something please point me to it, thanks!

Found an adequate explanation in this issue


Roll Engine from e7939e091e2c to 230ad13e49c8 (13 revisions)

https://github.com/flutter/engine/compare/e7939e091e2c...230ad13e49c8
2021-04-29<EMAIL_ADDRESS>Roll Skia from 83dae92318b3 to 2b8fd2e8e010 (4 revisions) (flutter/engine#25836)
2021-04-29<EMAIL_ADDRESS>Roll Dart SDK from b5ff349bffc8 to a45eaf6402c3 (1 revision) (flutter/engine#25837)
2021-04-29<EMAIL_ADDRESS>Roll Skia from fa06f102f13b to 83dae92318b3 (1 revision) (flutter/engine#25835)
2021-04-29<EMAIL_ADDRESS>Roll Dart SDK from 90993fcb8554 to b5ff349bffc8 (1 revision) (flutter/engine#25834)
2021-04-29<EMAIL_ADDRESS>Roll Skia from 958a9395e6ca to fa06f102f13b (4 revisions) (flutter/engine#25833)
2021-04-29<EMAIL_ADDRESS>Roll Dart SDK from 21aa7f8cbde8 to 90993fcb8554 (1 revision) (flutter/engine#25832)
2021-04-29<EMAIL_ADDRESS>fuchsia: Handle multiple views in platformViews path (flutter/engine#25343)
2021-04-29<EMAIL_ADDRESS>Roll Dart SDK from 8bab67dad50b to 21aa7f8cbde8 (1 revision) (flutter/engine#25829)
2021-04-29<EMAIL_ADDRESS>Enable JIT memory protection on macOS (flutter/engine#25819)
2021-04-28<EMAIL_ADDRESS>Roll Skia from 65d7ab2c074a to 958a9395e6ca (2 revisions) (flutter/engine#25825)
2021-04-28<EMAIL_ADDRESS>Fix and re-enable flaky test MessageLoopTaskQueue::ConcurrentQueueAndTaskCreatingCounts. (flutter/engine#25826)
2021-04-28<EMAIL_ADDRESS>Roll Skia from 27c4202f4bd6 to 65d7ab2c074a (1 revision) (flutter/engine#25823)
2021-04-28<EMAIL_ADDRESS>Roll Dart SDK from 1e3e5efcd47e to 8bab67dad50b (8 revisions) (flutter/engine#25822)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/master/autoroll/README.md

Closing to get a new attempt started following updates to flutter/test.

Commit queue failed; closing this roll.


Having propagate_private_route_tables_vgw  set to true leads to errors when rebuilding resources

If you manually delete the VGW created with this module and have propagate_private_route_tables_vgw set to true when you rerun terraform plan or apply you get the following errors:
09:19:02  Error: Error in function call
09:19:02
09:19:02    on .terraform/modules/controlplane-network.vpc/main.tf line 1112, in resource "aws_vpn_gateway_route_propagation" "private":
09:19:02  1112:   vpn_gateway_id = element(
09:19:02  1113:
09:19:02  1114:
09:19:02  1115:
09:19:02  1116:
09:19:02  1117:
09:19:02  1118:
09:19:02      |----------------
09:19:02      | aws_vpn_gateway.this is empty tuple
09:19:02      | aws_vpn_gateway_attachment.this is empty tuple
09:19:02      | count.index is 1
09:19:02
09:19:02  Call to function "element" failed: cannot use element function with an empty
09:19:02  list.

My current workaround is to run terraform apply with this value set to false, and then change the value back to true and rerun a second time.

Hey @fnickels, what version of the was provider are you using?


TestPyPI down

Error 503 Backend is unhealthy
Backend is unhealthy

Guru Mediation:
Details: cache-fra19135-FRA<PHONE_NUMBER><PHONE_NUMBER>

Varnish cache server

@ewdurbin ^

Thanks for the reports! The admins and moderators are aware. In the interest of centralizing things, I'm going to close this in favor of #7643; please feel free to subscribe to that issue or follow 'pypi' and 'pythonstatus' on twitter.


question about the example in readme

I am using the mail gem version is 2.6.1.
I found a wacky error at here,
Mail.from 's class is Mail::AddressContriner, I think it doesn't have the field or method addresses, right?

Due to a parsing error on from. #631.


Rename MediaSessionConnection to MusicServiceConnection

I've renamed MediaSessionConnection to MusicServiceConnection. Here's why:

MediaSessionConnection is confusingly close to MediaSessionConnector which is provided by the MediaSession extension for ExoPlayer.
It's not actually a media session connection, it's a wrapper for both media browser and the media session.
The only classes it ever connects to are UAMP's MusicService class and its subclasses. Theoretically it could connect to another MediaBrowserService but this is unlikely given the nature of the sample.

Thanks!


docs: update user description document

Description

This PR updates the description of the users in Sprout.
These changes are done because the current description was outdated.

Related Issues

Closes #328 and closes #329

Reviewer Focus

This PR requires an in-depth review.

Checklist
For general documentation:

[ ] Spell-check

[x] US
[ ] UK

[x] Did the page(s) preview correctly on your machine without breaking
[x] New category words (keywords) (if any) added to the code snippet file

@lwjohnst86 In general, when making a lot of changes and reorganising things, wouldn't it make sense to ask for a review again before merging? :)

@signekb definitely, though in this case I intentionally didn't want anyone to spend anymore time on it, since it had already been reviewed a few times, isn't the focus right now, and we'll be coming back to these docs anyway soon enough ☺

I should have written that when I merged it in, that probably would have helped!

Ah, makes sense. Yes, that would have helped :)


Add isort precommit hook

After running darker for some time most of the imports are sorted anyway so it IMHO makes sense to sort all of them

Bors merge


Calibration for camera available?

Hi
Do you have intrinsic and extrinsic parameters available for all the cameras used for recording? if so can you share it ?

Hello,
since our primary goal was pedestrian detection and behavior understanding, we do not have calibration information for the cameras.
For the videos that are captured using GoPro Hero+ (videos 1-60), I believe you can use the calibration information for GoPro Hero3 White (which has the same hardware as Hero+):
Camera: GoPro Hero3 White (videos 1-60)
Mode: 1080p-30fps-wide
F = 1230 px
W = 1920 px
H = 1080 px
cx = 960 (lateral)
cy = 540 (vertical)
A = 1
k1 = -0.32
k2 = 0.126
t1 = 0
t2 = 0
k3 = 0
Unfortunately, we do not have access to the other two cameras that we used and they appear to be discontinued by the manufacturers. Here is all the information I could find online, perhaps it could be of use.
Camera: Highscreen Black Box Connect (videos 61-70)
f = 2.3 mm
Horizontal viewing angle 110 deg
Sensor 1/4’’
W = 1280 px
H = 720 px
Camera: Garmin GDR-35 (videos 71-346)
https://www.garmin.com.sg/products/discontinued/gdr35/#specsTab

Hello
Thank you!


Integrating in github workflow

Hello there,
I'm building an app as part of my cusotm workflow on github.
I'm installing the CLI tool using this line
dotnet tool install --global nulastudio.ncbeauty
and then calling the ncbeauty using this other line
ncbeauty --noflag --nopatch --hiddens "hostfxr;hostpolicy;*.deps.json;*.runtimeconfig*.json;*.config" ..\bin libs
I'm getting this error

It was not possible to find any compatible framework version
The framework 'Microsoft.NETCore.App', version '2.1.0' was not found.

The following frameworks were found:
5.0.2 at [C:\Users\runneradmin\AppData\Local\Microsoft\dotnet\shared\Microsoft.NETCore.App]

You can resolve the problem by installing the specified framework and/or SDK.
The specified framework can be found at:
https://aka.ms/dotnet-core-applaunch?framework=Microsoft.NETCore.App&framework_version=2.1.0&arch=x64&rid=win10-x64
Error: Process completed with exit code 1.

The app is a WPF Net5 app, and running the command from my local windows powershell is ok, but it seems to not work on the github workflow for some reason
Any suggestions on how I can solve the issue?
Thank you in advance

the global tool is targeting at .NET Core 2.1, so you need to download the 2.1.0 runtime before you can run. you should
have installed 2.1 sdk on your local pc so you can run it, haven't you? use dotnet --info to check. personally, i don't recommand installing a additional runtime just in order to run a tiny global tool(it's a wrapper basically), i prefer downloading the binary distribution from Releases and then run it.

btw, i have noticed that you have enabled --nopatch option, this will cause your application fails to run if pwd is not the same as the application location. more details about this issue.

I will remove the nopatch option and see if it may help.
Btw if to run it I have to install the 2.1 it may be a no-go for me.
Maybe i should go for the nuget package? and use the BeautyAfterTasks option?

yes, you can reference the nuget package, but no need to use BeautyAfterTasks, this option is used for controling the execution time after publishing.

If I want to make the output dir beautiful, even after a simple
build/rebuild I should go for the BeauryAfterTask option and specify
Compile or Build;Rebuild as the argument, or am I wrong?
(because I'm not publishing the code atm, just zipping the release build as
a part of the continuous development workflow)
Il Mer 10 Feb 2021, 09:55 L!εsAμεr<EMAIL_ADDRESS>ha scritto:

yes, you can reference the nuget package, but no need to use
BeautyAfterTasks, this option is used for controling the execution time
after publishing.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/nulastudio/NetCoreBeauty/issues/17#issuecomment-776548680,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA52UOTR2A37HHH7FUNW4T3S6JCZ5ANCNFSM4XLKGSOA
.

unfortunately, NetCoreBeauty only works after publishing, it won't run when build the project. it's force dependent on Publish task.

Got it, I, ll try publishing in the workflow instead and hope for the best
Thanks for the support!


Fixed instrument adding, added instrument listing

terminus site instrument - Lists instruments of user
terminus site instrument --site=sitename - Lists the current instrument of site sitename
terminus site instrument --site=sitename --change-to=uuid - Changes the instrument of site sitename to UUID

@TeslaDethray I made a few stylistic comments and spelling (that are all easy to clean up whenever), but otherwise I think this is good to go :+1:

https://sprint.ly/product/24230/item/2628

https://sprint.ly/product/24230/item/2629