niloofarsabouri

  • Jan 24, 2024
  • Joined Sep 12, 2023
  • 0 best answers
  • jakaskerl

    Hi

    what is wrong with this file?

    I exactly place train, test and valid folder in the training notebook.

    I am so confused…..

    Can you explain it more and in detail?

    I think the my training is not operates.

  • jakaskerl

    Hi again,

    I divided my dataset into 3 categories: train, test and val.

    As you see in pictures I pointed the folders, but I got sth wrong… I can not understand…

    Thanks.

  • Matija

    Hi,

    My friend insists on that Oak only woks with YOLO TINY 3, and his reason is in GUI we have detection by yolo tinyv3.

    I have trained my model by Yolo v7. in my model I got nothing and false detection.

    I am now exceeding my data set to 210 images.

    and you have said Inference section…Can you explain it more?

    Thanks alot.

    • Matija

      Hi and thank you for your response.

      Matija, I have just added my custom model in Oak GUI. By running the custom model I got wrong or false detection.

      The Oak has showed some reactions. but they are not true…decetions are not blue window as I have mentioned before.

      I am exceeding my dataset to 250 images and I have a question, Do you think something else has gone wrong?

      How can I make Oak detect Truly ??

      or this false detection is due to my dataset?

      except increasing the dataset, what are other factors can cause this false detection?

      the image below is the detections by custom model.

      and another question, I have noticed in your custom model folder a file written in python and named by handler… what is handler and how it works and should have to write for my custom models?

      Can you explain it more …

      Thanks in advance.

    • jakaskerl

      Hi

      Let me explain more.

      I mean Oak operates as an normal camera just getting the frames. Is there any way to do this?

      and I think you are expert in machine vision I need your consultants. This image a window with 4 corners and colored in blue must be detected by oak.

      Our central computer is jetson tx2. it has a poor CPU.

      I want Oak to detect this window and another obstacle.

      To detect the window with Oak , what would you suggest?

      Do I need deep learning and Train or just other ways

      Thanks in advance.

      • jakaskerl

        Hi

        Thank you for your response.

        No, We are not allowed to use Aruco markers.

        I am thinking about Is it possible for Oak to get a non-processing fram in RGB ?

        just like a normal camera.

        • @Matija

          Hello and Thank you for your time.

          I was about to test my custom model by oak but in real the device (oak) could not detect the object.(false detection)

          I think all of you are super expert machine vision engineers , so I want if you mind helping me to solve my problem.

          the question is:

          I want to detect a blue window that drone should detect it and pass in central of window.

          I have searched and want your opinion that, window has 4 corners and these features are not enough to be detected… each object which has 4 corners is detected and labeled blue- window.

          in order to detect the window what should I do with Oak?

          for custom dataset how many pictures and do I need images with background?

          If you were in my place what would you do?

          Thanks in advance.

          • Matija

            sorry for my questions…

            it finally works by your help.

            how can I make it more accurate?

            I used 114 images to train it.

            and my oak can not detect good.

          • Matija

            Hi,

            sorry I am new in these commands .

            Would you mind explaining more … you are great.

            I want to write the command.

            If I don't mixed it up I have to specify my own path from this folder??

            I use this commad:

            python3 main.py --config best.json

            it gives me an error 400 bad request!!

            • jakaskerl

              Matija

              Hi,

              Thanks for your help

              I faced with a new problem…

              requests.exceptions.HTTPError: 400 Client Error: BAD REQUEST for url: https://blobconverter.luxonis.com/compile?version=2021.4&no_cache=False

              why this is happening?

              I renamed my file to 2021.4, but I still got the errors again.

              I am still trying to solve the problem but get new error lines…

              as you had mentioned in your repository:

              python3 main_api.py -m <model_name> --config <config_json>

              I put yolov7 in <model name> also I tried putting yolo but the same error…

              and best.json for rest, and I got this error:

              python3 main_api.py -m <model_name> --config <config_json>

              can you explain more

              I appreciate for your helps.

              • Matija

                Hi..

                and thanks alot!

                I got the result folder..

                i mean go to the Luxions page and convert best.pt to the file

                now to clone to git I got this error. I googled it but it does not make sense.

                can you help me?

                Thanks

                • jakaskerl

                  sorry for replying too much…

                  the main problem is:

                  I don't know where the problem is!

                  Thanks all for help

                  • souhamseibi

                    Hi,

                    I am wondering …can you help me how you have trained your data set by OAK?

                    I faced some errors and I am new in machine learning…

                    Thanks…

                  • @jakaskerl

                    Hi again,

                    I just skipped and now faced with a new error I think:

                    I think in last line which is relating to a class is not correct!

                    my class has not been recognized and these two files in exp5 are not exist!

                  • jakaskerl

                    Hi,

                    as it mentioned on site.

                    we have to make 2 paths for test and trian.

                    my dataset is already in yolo format so i ignore the cells which are discussing about converting VOC to YOLO.

                    but I got this error:

                    I don't understand what to do…

                    can you explain and help me more?

                  • jakaskerl

                    Hi,

                    Thanks for your reply.

                    Can you explain what these lines are talking about?

                    wget http://host.robots.ox.ac.uk/pascal/VOC/voc2007/VOCtrainval_06-Nov-2007.tar -O ./VOCdevkit/VOCtrainval_06-Nov-2007.tar

                    I think by this line, we can download a data set and I don't understand this part" -O ./VOCdevkit/VOCtrainval_06-Nov-2007.tar"

                    If I want to substitute my own data set what should I do?

                    can you explain more.

                    Thanks

                    • erik

                      Hi, Erik

                      Can you explain in YOLO7 , it has been discussed that prepare your own dataset in yolo format but, why VOC format is used and has been converted to YOLO format then?

                      thanks

                      • erik

                        Hi,

                        yes I have now started to train with YOLO7. but I discovered that it has used PASCAL VOC and then converted to YOLO format.

                        I will respond you as soon as possible.

                        following step by step.

                      • Hi,

                        I am training my custom data set to detect window.

                        I have tried on many versions of YOLO. the problem is when the training is completed I have to jump to next level to convert the weights but I got the error.

                        Can some one help me??

                        Thanks.

                        • erik replied to this.