VoTT icon indicating copy to clipboard operation
VoTT copied to clipboard

If you move files, you can never get back to a functioning state

Open thepian opened this issue 4 years ago • 7 comments

Describe the bug If you reorganise your image locations and change the path in the vott file, it will be overwritten back to the previous state once opened

I found the you have to load the vott file via open local project, not the recent projects

To Reproduce Steps to reproduce the behavior:

  1. Label images
  2. Close the app
  3. Move the images
  4. Update paths in the vott file directly
  5. Open the project again with VoTT
  6. The vott file is now changed with paths reset to the previous value

Expected behavior The images should be visible in VoTT The vott file should remain unchanged

Screenshots Screenshot 2021-01-23 at 19 28 36

Desktop (please complete the following information):

  • OS: MacOS
  • Version 2.2

thepian avatar Jan 23 '21 18:01 thepian

I have this problem too. I ran out of disk space on my Azure VM, then had to add a disk, move the photos, then I deleted the old disk. I went into Vott to try and re-map the connections, but it no longer can find the already viewed assets. I get Unable to load asset. I'm guessing what's going on under the hood is that Vott is re-mapping the already tagged and viewed images to a different connection than the input connection or the output connection, but I'm unable to manage or reset that kind of intermediate step? Can you help? I had a collaborator label 1800 photos, and didn't get all the way through the export before my disk filled up. So I don't want the data to be lost.

Windows Azure DSVM - Vott version 2.2.0

marireeves avatar Feb 24 '21 19:02 marireeves

I had the same issue:

In the Vott und Asset Files the image paths are stored as absolute path and encoded as MD5 hash e.g.

file:C:/Vott_Input/BloodImage_00004.png

goes to

3b9d2918b5890923c699113bac4d2aa3

https://www.md5hashgenerator.com/

If the Pfad changes, you have to edit the Projekt. To update the paths and hashes use.

https://github.com/cnrmck/update-vott-assets/blob/master/update_vott_assets.py

Thats an functionality which would be great if it can be implemented in Vott itself, since many people using Vott have Issues with it

lukasalexanderweber avatar Feb 26 '21 07:02 lukasalexanderweber

I'm a new VoTT user, working with a project on my local machine. One of my first questions was/is... "how can I copy or move this project to another machine?" Because of the absolute paths in the .vott and asset.json files, it seems that there is no easy way to do this. And if I understand this issue thread, there is no way to do it whatsoever. Am I incorrect? If not, what are the steps that need to be taken to copy a project to a different machine, with data stored in a different path location?

mattroos avatar Feb 28 '21 17:02 mattroos

You can do this with this script: https://github.com/cnrmck/update-vott-assets/blob/master/update_vott_assets.py But there is no native way to do it in Vott

lukasalexanderweber avatar Mar 01 '21 18:03 lukasalexanderweber

you can just find .vott (project file) and open with Notepad,find your Image file name and delete that phrase of json。reopen the project,you gonna solve it。

sannnyu avatar Apr 22 '21 15:04 sannnyu

Same problem... If I ask others to annotate the file, then the path is not the same, and I cannot open it on my machine. I would prefer vott to implement a "relative path to .vott file", and disable the encryption for ease editing when using localFileSystemProxy.

MarsTechHAN avatar Aug 08 '21 06:08 MarsTechHAN

Same problem... If I ask others to annotate the file, then the path is not the same, and I cannot open it on my machine. I would prefer vott to implement a "relative path to .vott file", and disable the encryption for ease editing when using localFileSystemProxy.

I gave up using VOTT,you can use Baidu EasyData or Roboflow to mark your datasets .

sannnyu avatar Aug 08 '21 12:08 sannnyu