Open nikste opened 1 year ago
you can reproduce it also by creating a task in the UI wie predefined sorting and unchecking the cache button in advanced options. Then create backup and try to recreate from backup.
unfortunately this still seems to be the case in the most recent development version: bcb3f9bda8f4fc716659829dbea751d85d99a748
@azhavoro , could you look at this problem?
As a workaround, please try to export the task as a dataset in the corresponding CVAT for *
format. It will not serve exactly as a backup, but it should produce very similar results.
A very similar issue: https://github.com/opencv/cvat/issues/5061
@zhiltsov-max , I believe we can remove "predefined" method as you suggested after your PR https://github.com/opencv/cvat/pull/5536 is merged
My actions before raising this issue
I've created many tasks using cvat-cli automatically using sorting-method predefined without the --use_cache flag. I've created a backup of a project and try to restore from the downloaded zip file i get the error message:
This is very unfortunate since i (and my team) were relying on these backups to be able to easily restore from. Due to unforseen external circumstances I've lost ssh access to the server it is currently running on and i only have access to the UI. I'd like to re-setup cvat on a different server but don't start annotation from scratch. Any advice to recreate the annotated data is appreciated! Hopefully this is already fixed in the newer versions.
Expected Behaviour
Being able to recreate a backup. Or being very very clearly warned that i wont be able to restore from this backup if sorting_method is predefined and no cache.
Current Behaviour
cant restore
Possible Solution
Make it possible to restore from backup, or make it very clear during creation of the backup (!) that you cannot restore from this.
Steps to Reproduce (for bugs)
create task with predefined sorting method through cli
Context
see description
Your Environment
lost access to server, setup with docker-compose
git log -1
): should be either: 3bd7c7e422d57986bd629da07214a3a3e666c68c or: d7560bbd39fec68f944515c2591dda74f3764b90