Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deleted frames #4194

Closed
wants to merge 88 commits into from
Closed

Deleted frames #4194

wants to merge 88 commits into from

Conversation

ActiveChooN
Copy link
Contributor

@ActiveChooN ActiveChooN commented Jan 18, 2022

Resolve #4235
Resolve #3000

Motivation and context

How has this been tested?

Checklist

License

  • I submit my code changes under the same MIT License that covers the project.
    Feel free to contact the maintainers if that's a concern.
  • I have updated the license header for each file (see an example below)
# Copyright (C) 2022 Intel Corporation
#
# SPDX-License-Identifier: MIT

@ActiveChooN ActiveChooN marked this pull request as ready for review January 31, 2022 05:55
@ActiveChooN
Copy link
Contributor Author

@nmanovic

Also I don't like that we move to the next image automatically. Need to think twice about the behaviors.

Moving to the next frame is only working if the "Show deleted frames" option is disabled.

@nmanovic
Copy link
Contributor

nmanovic commented Apr 1, 2022

@ActiveChooN , automatic annotation is running on all frames, even deleted.

@nmanovic
Copy link
Contributor

nmanovic commented Apr 1, 2022

@ActiveChooN , could you please check tests? Are they hanging?

@nmanovic
Copy link
Contributor

nmanovic commented Apr 1, 2022

@ActiveChooN , if I delete a frame with annotations and after that restore it, I still can see annotations. But if I go to the next frame and return back, it is disappeared. Could you please check?

@nmanovic
Copy link
Contributor

nmanovic commented Apr 1, 2022

@ActiveChooN , I see some strange artifacts for trash bin. Is it a standard picture?

image

@nmanovic
Copy link
Contributor

nmanovic commented Apr 1, 2022

@ActiveChooN , do we have any shortcuts to delete a frame quickly? For now it is necessary for every deleted frame click twice using mouse. I will have two shortcuts with and without confirmation and show them in hints.

@nmanovic
Copy link
Contributor

nmanovic commented Apr 1, 2022

@ActiveChooN , don't like that in meta information we have a separate array for deleted frames. Do you see any ways to have "is_deleted" attribute as a part of information about a frame?

image

@nmanovic
Copy link
Contributor

nmanovic commented Apr 1, 2022

@ActiveChooN , why do we have a warning when we delete a frame without annotation but don't have a warning when we restore the frame?

@nmanovic
Copy link
Contributor

nmanovic commented Apr 1, 2022

@ActiveChooN , found a problem with tracks. Let's draw a track with key frames on 0, 10, 20 frames. If you delete the frame 0, the track will be removed completely. It tells me that the idea to delete annotations could be wrong and dangerous. Need to think one more time about that. Only in CVAT format we dump key frames only. It looks like it is the main problem.

@ActiveChooN
Copy link
Contributor Author

@nmanovic,

@ActiveChooN , don't like that in meta information we have a separate array for deleted frames. Do you see any ways to have "is_deleted" attribute as a part of information about a frame?

We have video meta without object per frame information, so is_deleted key is not applicable in that case.

@ActiveChooN , I see some strange artifacts for trash bin. Is it a standard picture?

It's the default delete icon in antd, fixed it manually.

@violino22
Copy link

"It will be possible to mark a frame as deleted after the PR is merged"
What is "PR is merged"?

@nmanovic
Copy link
Contributor

nmanovic commented May 3, 2022

The pull request (PR) should be merged into develop branch and after that we should publish a release.

@violino22
Copy link

Запрос на включение (PR) должен быть объединен с веткой разработки, после чего мы должны опубликовать релиз.

Я просто наёмный работник)))
Я не хочу заморачиваться. Я просто хочу клацать на кнопочки, чтоб удалялись ненужные файлы из задачи, это возможно?)))

@nmanovic
Copy link
Contributor

nmanovic commented May 3, 2022

Yes, I understand that. In this case just wait. I hope in next release the feature should be available.

@FrankUSC
Copy link

@nmanovic
This is a very useful feature, do we have an ETA when will it be released?
Thank you!

@nmanovic
Copy link
Contributor

@FrankUSC , it will be release this month.

@bsekachev
Copy link
Member

The pull request has been finished and merged in our current fork, here: https://github.com/cvat-ai/cvat

@bsekachev bsekachev deleted the dk/deleted-frames branch August 23, 2022 11:41
@nmanovic nmanovic mentioned this pull request Sep 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improvement Suggestion: Data Handling in CVAT Delete / mark as broken image from task
8 participants