Skip to content
This repository has been archived by the owner on Dec 7, 2021. It is now read-only.

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

Open
thepian opened this issue Jan 23, 2021 · 7 comments
Open

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

thepian opened this issue Jan 23, 2021 · 7 comments

Comments

@thepian
Copy link

thepian commented Jan 23, 2021

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
@marireeves
Copy link

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

@lukasalexanderweber
Copy link

lukasalexanderweber commented Feb 26, 2021

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

@mattroos
Copy link

mattroos commented Feb 28, 2021

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?

@lukasalexanderweber
Copy link

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

@sannnyu
Copy link

sannnyu commented Apr 22, 2021

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。

@MarsTechHAN
Copy link

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.

@sannnyu
Copy link

sannnyu commented Aug 8, 2021

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 .

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants