1. 25 1月, 2023 1 次提交
  2. 23 1月, 2023 1 次提交
  3. 22 1月, 2023 1 次提交
    • P
      Fix typing of credentials parameter of make_client in the Python SDK (#5609) · a9476cb6
      Padraig X. Lamont 提交于
      ### Motivation and context
      This is a very simple pull request. The type of the credentials
      parameter of `make_client` is currently `Optional[Tuple[int, int]]`, but
      it should be `Optional[Tuple[str, str]]` as used by `Client#login`. This
      PR makes that change.
      
      ### How has this been tested?
      The typing does not affect the functionality of the code (just the
      warnings I get in an IDE).
      a9476cb6
  4. 19 1月, 2023 2 次提交
  5. 18 1月, 2023 1 次提交
  6. 17 1月, 2023 1 次提交
  7. 14 1月, 2023 1 次提交
    • M
      Add a way to create task with custom jobs (#5536) · 31f05782
      Maxim Zhiltsov 提交于
      This PR adds an option to specify file to job mapping explicitly during
      task creation. This option is incompatible with most other job-related
      parameters like `sorting_method` and `frame_step`.
      
      - Added a new task creation parameter (`job_file_mapping`) to set a
      custom file to job mapping during task creation
      31f05782
  8. 13 1月, 2023 1 次提交
  9. 12 1月, 2023 2 次提交
  10. 11 1月, 2023 4 次提交
    • R
      Fix HRNet dimension error on images with alpha channel (#5570) · 43ed0a2e
      Rodrigo Berriel 提交于
      This is pretty much the same fix applied to f-BRS in #5384. We've been
      using HRNet for a while and now an then we receive "500 errors" just as
      reported in #5299 when someone forgets to drop the alpha-channel from
      our images.
      
      ### Motivation and context
      The RuntimeError is a little bit different, but comes from the same
      issue: RGBA instead of RGB images:
      > RuntimeError: Given groups=1, weight of size [16, 3, 1, 1], expected
      input[*, 4, *, *] to have 3 channels, but got 4 channels instead.
      
      ### How has this been tested?
      I created a task with images with and w/o alpha channel, and the
      interactor works on both now.
      43ed0a2e
    • A
      Fixed chunk and preview cache usage (#5569) · 6c3e3c98
      Andrey Zhavoronkov 提交于
      6c3e3c98
    • R
      SDK: fix string field serialization for multipart/form-data requests (#5479) · 3d9c5add
      Roman Donchenko 提交于
      Django REST Framework ignores the Content-Type on request body parts, so
      it doesn't know that they are JSON-encoded. Instead, it just tries to
      decode each part as if it was an `str()`-encoded value.
      
      Change the encoding to match the decoding. The only type this matters
      for is `str`, because `json.dumps` and `str` produce different encodings
      for `str` values.
      
      Remove `none_type` from the list of encodable types since, to my
      knowledge, there's no way to encode a `None` value as a
      `multipart/form-data` part in a way that DRF will understand.
      3d9c5add
    • H
      YoloV7 serverless detector feature for auto annotation (#5552) · f3843aa7
      Hardik Dava 提交于
      ### Motivation and context
      
      Integration of YOLOv7 as a serverless nuclio function that can be used
      for auto-labeling. YoloV7 is the SOTA at the time of this PR therefore
      it would make sense to support it in CVAT. The integration is quite
      simple into CVAT as docker based on Ultralytics YoloV5 with coco
      pretrained model (https://github.com/WongKinYiu/yolov7) and a docker
      image (https://hub.docker.com/r/ultralytics/yolov5).
      
      related issue: #5548 
      
      ### How has this been tested?
      
      Automatic annotation was run using YOLOv7 on a custom dataset.
      The serverless function was deployed using
      
      ```
      nuctl deploy --project-name cvat \
        --path serverless/onnx/WongKinYiu/yolov7/nuclio \
        --volume `pwd`/serverless/common:/opt/nuclio/common \
        --platform local
      ```
      
      Then using the 'Automatic annotation' action the function was tested and
      the auto-generated labels were controlled to check that no coordinates
      misfit is happening.
      
      ### Use custom model:
      1. Export your model with NMS for image resolution of 640x640
      (preferable).
      2. Copy your custom model yolov7-custom.onnx to /serverless/common
      3. Modify function.yaml file according to your labels.
      4. Modify model_handler.py as follow:
      ```
       self.model_path = "yolov7-custom.onnx"
      ```
      Co-authored-by: NNikita Manovich <nikita@cvat.ai>
      Co-authored-by: Nyasakova-anastasia <yasakova_anastasiya@mail.ru>
      f3843aa7
  11. 10 1月, 2023 1 次提交
    • I
      Adjust Windows Installation Instructions to account for Nuclio issue#1821 (#5558) · c29b2837
      Irrom 提交于
      In my understanding of https://github.com/nuclio/nuclio/issues/1821, the
      Nuctl (1.8.14) CLI is looking for a path that is only valid on a Linux
      environment, which it does not find when running via Git Bash (even when
      using the Windows version of Nuctl). However, installing CVAT onto a
      Linux VM allows Nuctl to locate this path and operate normally. I
      initially found this when setting up CVAT myself on Git Bash as per the
      given instructions for Windows 10.
      
      (I am still learning how to use GitHub as far as pull requests / forks /
      etc work, sorry if this is not the right way to approach this change.
      Please let me know if I've missed something important.)
      
      ### How has this been tested?
      This is only a change to instructions, but I did test this on multiple
      machines . As long as the machine is capable of running a Linux kernel
      it shouldn't run into any issues.
      c29b2837
  12. 07 1月, 2023 1 次提交
    • R
      PyTorch adapter: add a way to disable cache updates (#5549) · 33c624ae
      Roman Donchenko 提交于
      This will let users to run their PyTorch code without network access,
      provided that they have already cached the data.
      
      ### How has this been tested?
      <!-- Please describe in detail how you tested your changes.
      Include details of your testing environment, and the tests you ran to
      see how your change affects other areas of the code, etc. -->
      Unit tests.
      33c624ae
  13. 03 1月, 2023 1 次提交
  14. 31 12月, 2022 1 次提交
  15. 30 12月, 2022 2 次提交
  16. 29 12月, 2022 2 次提交
  17. 28 12月, 2022 2 次提交
  18. 26 12月, 2022 1 次提交
  19. 17 12月, 2022 1 次提交
  20. 16 12月, 2022 1 次提交
  21. 10 12月, 2022 1 次提交
  22. 09 12月, 2022 1 次提交
  23. 08 12月, 2022 2 次提交
  24. 05 12月, 2022 4 次提交
  25. 03 12月, 2022 1 次提交
  26. 02 12月, 2022 3 次提交