Skip to content

Commit

Permalink
Renamed example_gif_url to animated_gif
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikita Manovich committed Aug 6, 2021
1 parent 9e6844c commit df53299
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion cvat-core/src/ml-model.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class MLModel {
this._type = data.type;
this._tip = {
message: data.help_message,
gif: data.example_gif_url,
gif: data.animated_gif,
};
this._params = {
canvas: {
Expand Down
4 changes: 2 additions & 2 deletions cvat/apps/lambda_manager/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def __init__(self, gateway, data):
self.min_pos_points = int(meta_anno.get('min_pos_points', 1))
self.min_neg_points = int(meta_anno.get('min_neg_points', -1))
self.startswith_box = bool(meta_anno.get('startswith_box', False))
self.example_gif_url = meta_anno.get('example_gif_url', '')
self.animated_gif = meta_anno.get('animated_gif', '')
self.help_message = meta_anno.get('help_message', '')
self.gateway = gateway

Expand All @@ -133,7 +133,7 @@ def to_dict(self):
'min_neg_points': self.min_neg_points,
'startswith_box': self.startswith_box,
'help_message': self.help_message,
'example_gif_url': self.example_gif_url
'animated_gif': self.animated_gif
})

if self.kind is LambdaType.TRACKER:
Expand Down
2 changes: 1 addition & 1 deletion serverless/openvino/dextr/nuclio/function.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
spec:
framework: openvino
min_pos_points: 4
example_gif_url: https://raw.githubusercontent.com/openvinotoolkit/cvat/0fbb19ae3846a017853d52e187f0ce149adced7d/site/content/en/images/dextr_example.gif
animated_gif: https://raw.githubusercontent.com/openvinotoolkit/cvat/0fbb19ae3846a017853d52e187f0ce149adced7d/site/content/en/images/dextr_example.gif
help_message: The interactor allows to get a mask of an object using its extreme points (more or equal than 4). You can add a point left-clicking the image

spec:
Expand Down
2 changes: 1 addition & 1 deletion serverless/pytorch/saic-vul/fbrs/nuclio/function.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ metadata:
framework: pytorch
min_pos_points: 1
min_neg_points: 0
example_gif_url: https://raw.githubusercontent.com/openvinotoolkit/cvat/0fbb19ae3846a017853d52e187f0ce149adced7d/site/content/en/images/fbrs_example.gif
animated_gif: https://raw.githubusercontent.com/openvinotoolkit/cvat/0fbb19ae3846a017853d52e187f0ce149adced7d/site/content/en/images/fbrs_example.gif
help_message: The interactor allows to get a mask for an object using positive points, and negative points

spec:
Expand Down
2 changes: 1 addition & 1 deletion serverless/pytorch/shiyinzhang/iog/nuclio/function.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ metadata:
min_pos_points: 1
min_neg_points: 0
startswith_box: true
example_gif_url: https://raw.githubusercontent.com/openvinotoolkit/cvat/0fbb19ae3846a017853d52e187f0ce149adced7d/site/content/en/images/iog_example.gif
animated_gif: https://raw.githubusercontent.com/openvinotoolkit/cvat/0fbb19ae3846a017853d52e187f0ce149adced7d/site/content/en/images/iog_example.gif
help_message: The interactor allows to get a mask of an object using its wrapping boundig box, positive, and negative points inside it

spec:
Expand Down

0 comments on commit df53299

Please sign in to comment.