28 Commits (26d78fe12e44d2ab8ce6b67d75310f9e88e3a328)

Author SHA1 Message Date
Boris Sekachev 2d522c8781
Prepare UI for attributes configuration (#4)
* Prepare UI for attributes configuration

* Add padding for label attributes

* Update attributes inference logic

Check the attributes returned by nuclio function call and reject those that
have either incompatible types or values.

* Update cvat-ui version, CHANGELOG.md

* Enhance automatic annotation BE logic

The code in lambda_manager didn't account for attributes mappings that had
different names thus returning an empty set of attributes because it couldn't
find the correct match. Fix this by getting proper mapping from `attrMapping`
property of the input data.

* Updated CHANGELOG

* Updated changelog

* Adjusted code & feature

* A bit adjusted layout

* Minor refactoring

* Fixed bug when run auto annotation without 'attributes' key

* Fixed a couple of minor issues

* Increased access key id length

* Fixed unit tests

* Merged develop

* Rejected unnecessary change

Co-authored-by: Artem Zhivoderov <artemz@retailnext.net>
4 years ago
Boris Sekachev 237f98d5f8
Some icons improvements (#4286)
* Removed unused icons

* Some icon changed to alternatives

* Updated version

* Icon selectors in tests

* Fixed eslint error in test

* Fixed opacity

* Updated header

* Fix URL scheme in cypress tests related with removing labels

* MinusCircled -> DeleteOutlined, removed one more custom cvat icon (there is the same antd icon)

* Fixed tests

* Fixed typos
4 years ago
Nikita Manovich 4708b5ecf8
IAM: Open Policy Agent integration (#3788)
Co-authored-by: Boris Sekachev <boris.sekachev@intel.com>
Co-authored-by: Dmitry Kruchinin <dmitryx.kruchinin@intel.com>
4 years ago
Boris Sekachev 9a56e7edd5
Shared tooltip component with common settings [Refactoring only] (#2783)
* Popover trigger on click, shared tooltip component

* Aborted trigger

* Updated version
5 years ago
manasars 069fadc053
CVAT-3D: support lidar data on the server side (#2534)
* CVAT-3D Updated the Mime Types with Bin Support, added dependency of open3D
* CVAT-3D Added additional column as Dimension for engine_task table and created a relatedfiles table for PCD to Image mapping.
* Added Support for 3D file Upload in BIN and PCD.
* Added Dimension attribute defaulting to 2D for importer and exporter.
* Added props passing for dimension attribute, filtering of import, Migration Scripts and Dimension attribute for MpegChunk Writers

Co-authored-by: cdp <cdp123>
5 years ago
Boris Sekachev 6883ee3155 Minor fixes 5 years ago
Boris Sekachev 4a0cf6b0f8 Part of forms was updated 5 years ago
Boris Sekachev 55f4d95e67 Fixed icons 5 years ago
Vitaliy Nishukov 7512fd6883
Reformatted (#2349) 5 years ago
Boris Sekachev b71e77b17b
Using serverside paremeter min_pos_points, right colors of labels in … (#2162)
* Using serverside paremeter min_pos_points, right colors of labels in detector runner

* Updated changelog & versions

* Using color from consts instead of literal
6 years ago
Boris Sekachev bd143853a5
Running detectors on the fly (#2102)
* Draft version

* Removed extra file

* Removed extra code

* Updated icon: magic wand

* Ctrl modifier, fixed some cases when interaction event isn't raised

* Added tooltip description of an interactor

* Locking UI while server fetching

* Removing old code & refactoring

* Fixed couple of bugs

* Updated CHANGELOG.md, updated versions

* Update crosshair.ts

* Minor fixes

* Fixed eslint issues

* Prevent default action

* Added minNegVertices=0 by default, ignored negative points for dextr, fixed context menu in some cases

* On the fly annotations draft

* Initial version of FBRS interactive segmentation

* Fix fbrs model_handler

* Fixed couple of minor bugs

* Added ability to interrupt interaction

* Do not show reid on annotation view

* Prettified UI

* Updated changelog, increased version

* Removed extra files

* Removed extra code

* Fixed changelog

Co-authored-by: Nikita Manovich <nikita.manovich@intel.com>
6 years ago
Boris Sekachev 908e0569d8
Improved interface of interactors on UI (#2054) 6 years ago
Boris Sekachev 2c661020b6
Fixed issue related with deactivated nuclio dashboard (#2008)
* Fixed issue related with deactivated nuclio dashboard

* Updated version, updated changelog
6 years ago
Nikita Manovich e7585b8ce9
DL models as serverless functions (#1767)
* Initial experiments with nuclio

* Update nuclio prototype

* Improve nuclio prototype for dextr.

* Dummy lambda manager

* OpenFaaS prototype (dextr.bin and dextr.xml are empty).

* Moved openfaas prototype.

* Add comments

* Add serializers and HLD for lambda_manager

* Initial version of Mask RCNN (without debugging)

* Initial version for faster_rcnn_inception_v2_coco

* Fix faster_rcnn_inception_v2_coco

* Implemented mask_rcnn_inception_resnet_v2_atrous_coco

* Implemented yolo detector as a lambda function

* Removed dextr app.

* Added types for each function (detector and interactor)

* Initial version of lambda_manager.

* Implement a couple of methods for lambda:

GET /api/v1/lambda/functions
GET /api/v1/lambda/functions/public.dextr

* First working version of dextr serverless function

* First version of dextr which works in UI.

* Modify omz.public.faster_rcnn_inception_v2_coco

- image decoding
- restart policy always for the function

* Improve omz.public.mask_rcnn_inception_resnet_v2_atrous_coco

* Improve omz.public.yolo-v3-tf function

* Implemented the initial version of requests for lambda manager.

* First working version of POST /api/v1/lambda/requests

* Updated specification of function.yaml (added labels and used annotations section).

* Added health check for containers (nuclio dashboard feature)

* Read labels spec from function.yaml.

* Added settings for NUCLIO

* Fixed a couple of typos. Now it works in most cases.

* Remove Plugin REST API

* Remove tf_annotation app (it will be replaced by serverless function)

* Remove tf_annotation and cuda components

* Cleanup docs and Dockerfile from CUDA component.

* Just renamed directories inside serverless

* Remove redundant files and code

* Remove redundant files.

* Remove outdated files

* Remove outdated code

* Delete reid app and add draft of serverless function for reid.

* Model list in UI.

* Fixed the framework name (got it from lambda function).

* Add maxRequestBodySize for functions, remove redundant code from UI for auto_annotation.

* Update view of models page.

* Unblock mapping for "primary" models.

* Implement cleanup flag for lambda/requests and labeling mapping for functions.

* Implement protection from running multiple jobs for the same task.

* Fix invocation of functions in docker container.

* Fix Dockerfile.ci

* Remove unused files from lambda_manager

* Fix codacy warnings

* Fix codacy issues.

* Fix codacy warnings

* Implement progress and cancel (aka delete) operation.

* Send annotations in batch.

* Fix UI. Now it can retrieve information about inference requests in progress.

* Update CHANGELOG.md

* Update cvat-ui version.

* Update nuclio version.

* Implement serverless/tensorflow/faster_rcnn_inception_v2_coco

* Add information how to install nuclio platform and run serverless functions.

* Add installation instructions for serverless functions.

* Update OpenVINO files which are responsible for loading network

* relocated functions

* Update dextr function.

* Update faster_rcnn function from omz

* Fix OpenVINO Mask-RCNN

* Fix YOLO v3 serverless function.

* Dummy serverless functions for a couple of more OpenVINO models.

* Protected lambda manager views by correct permissions.

* Fix name of Faster RCNN from Tensorflow.

* Implement Mask RCNN via Tensorflow serverless function.

* Minor client changes (#1847)

* Minor client changes

* Removed extra code

* Add reid serverless function (no support in lambda manager).

* Fix contribution guide.

* Fix person-reidentification-retail-300 and implement text-detection-0004

* Add semantic-segmentation-adas-0001

* Moving model management to cvat-core (#1905)

* Squached changes

* Removed extra line

* Remove duplicated files for OpenVINO serverless functions.

* Updated CHANGELOG.md

* Remove outdated code.

* Running dextr via lambda manager (#1912)

* Deleted outdated migration.

* Add name for DEXTR function.

* Fix restart policy for serverless functions.

* Fix openvino serverless functions for images with alpha channel

* Add more tensorflow serverless functions into deploy.sh

* Use ID instead of name for DEXTR (#1926)

* Update DEXTR function

* Added source "auto" inside lambda manager for automatic annotation.

* Customize payload (depends on type of lambda function).

* First working version of REID (Server only).

* Fix codacy warnings

* Avoid exception during migration (workaround)

File "/usr/local/lib/python3.5/dist-packages/django/db/utils.py", line 89, in __exit__
    raise dj_exc_value.with_traceback(traceback) from exc_value
  File "/usr/local/lib/python3.5/dist-packages/django/db/backends/utils.py", line 84, in _execute
    return self.cursor.execute(sql, params)
django.db.utils.ProgrammingError: table "engine_pluginoption" does not exist

* Add siammask serverless function (it doesn't work, need to serialize state)

* Run ReID from UI (#1949)

* Removed reid route in installation.md

* Fix a command to get lena image in CONTRIBUTION guide.

* Fix typo and crash in case a polygon is a line.

Co-authored-by: Boris Sekachev <40690378+bsekachev@users.noreply.github.com>
6 years ago
Dmitry Kalinin 667a3f92fe
CVAT UI: batch of fixes (#1955) 6 years ago
Boris Sekachev c6c9e7db96
React UI: Added client versioning (#1448)
* Adjusted antd import

* Wrapped core and canvas

* Added versioning

* Updated changelog, adjusted installation guide a bit
6 years ago
Boris Sekachev c2d58e5b7d
Added license headers (#1208)
* Added licenser

* Added license headers for cvat-canvas and cvat-ui
6 years ago
Nikita Glazov 06529b984d
Typed reducers (#1136)
* Added typed actions/reducers
* Added commands to check types / eslint issues
* Added redux dev tools
6 years ago
Boris Sekachev 7e8fc2366a
React UI: Undo/redo (#1135) 6 years ago
Boris Sekachev 42614c28a1
React UI: Annotation view enhancements (#1106)
* Keyframes navigation

* Synchronized objects on canvas and in side panel

* Fixed minor bug with collapse

* Fixed css property 'pointer-events'

* Drawn appearance block

* Removed extra force reflow

* Finished appearance block, fixed couple bugs

* Improved save() in cvat-core, changed approach to highlight shapes

* Fixed exception in edit function, fixed filling for polylines and points, fixed wrong image navigation, remove and copy

* Added lock

* Some fixes with points

* Minor appearance fixes

* Fixed insert for points

* Fixed unit tests

* Fixed control

* Fixed list size

* Added propagate

* Minor fix with attr saving

* Some div changed to buttons

* Locked some buttons for unimplemented functionalities

* Statistics modal, changing a job status

* Minor fix with shapes counting

* Couple of fixes to improve visibility

* Added fullscreen

* SVG Canvas -> HTML Canvas frame (#1113)

* SVG Frame -> HTML Canvas frame
6 years ago
Boris Sekachev 2cc2e32ff1 React UI: Player updates (#1058)
* Move, zoom integration
* Moving, zooming, additional canvas handler
* Activating & changing for objects
* Improved colors
* Saving annotations on the server
* Fixed size
* Refactoring
* Added couple of notifications
* Basic shape drawing
* Cancel previous drawing
* Refactoring
* Minor draw improvings
* Merge, group, split
* Improved colors
6 years ago
Boris Sekachev 247d7f04ec Added ability to match many model labels to one task labels (#1051)
* Added ability to match many model labels to one task labels

* Fixed grammar
6 years ago
Maksim Markelov 63d5326b51 Change Modal submit button okType (#1001) 6 years ago
Boris Sekachev f57586a03c UI Enhancements (#985)
* Single import of basic styles
* A little bit redesigned header
* Specified min resolution 1280x768
* Getting a job instance
* Improved handling when task doesn't exist
6 years ago
Boris Sekachev 4de8be7b69 Styles refactoring (#977) 6 years ago
Boris Sekachev 32027ce884 UI eslint fixes (#908)
* Installed airbnb fullsettings
* Fixed actions menu
* Create model/task page
* File manager, header
* Labels editor
* Login, register
* Models page & model runner
* Tasks page
* Feedback and base app
* Tasks page
* Containers
* Reducers
* Fixed additional issues
* Small pagination fix
6 years ago
Boris Sekachev 911b4e9229 React & Antd UI: Export dataset, refactoring & fixes (#872)
* Automatic label matching (by the same name) in model running window
* Improved create task window
* Improved upload model window
* Fixed: error window showed twice
* Updated CONTRIBUTING.md
* Removed token before login, fixed dump submenu (adjustment), fixed case when empty models list displayed
* Export as dataset, better error showing system
* Removed extra requests, improved UI
* Fixed a name of a format
* Show inference progress
* Fixed model loading after a model was uploaded
6 years ago
Boris Sekachev 9f63686baf React & Antd UI: Model manager (#856)
* Supported git to create and sync
* Updated antd
* Updated icons
* Improved header
* Top bar for models & empty models list
* Removed one extra reducer and actions
* Removed one extra reducer and actions
* Crossplatform css
* Models reducers, some models actions, base for model list, imrovements
* Models list, ability to delete models
* Added ability to upload models
* Improved form, reinit models after create
* Removed some importants in css
* Model running dialog window, a lot of fixes
6 years ago