microsoft / VoTT

Visual Object Tagging Tool: An electron app for building end to end Object Detection Models from Images and Videos.
MIT License
4.28k stars 834 forks source link

Shared Access Signature reverts to old string #940

Open hartmania opened 4 years ago

hartmania commented 4 years ago

Howdy!

Using Azure blob storage connection and browser version.

Not sure how I found myself in this mess -- but -- for some reason, I will load my project then VOTT makes reference to a different SAS, thus creating new asset ids and indicating that labeled assets have not yet been labeled...

Have noted when I go to connection settings there are duplicates - see screen shot... I have deleted all cookies, tried different browser etc etc.

Screen Shot 2020-02-20 at 12 22 11 PM

For example:

This asset has been tagged months ago and is properly in VOTT file -- works as expected when project is visited and referencing the correct SAS:

   "82da9bec23929c88ee3b14d04fac898c": {
        "id": "82da9bec23929c88ee3b14d04fac898c",
        "format": "jpg",
        "state": 2,
        "type": 1,
        "name": "NewportHarbor2018_fullres%2FNBHarbor2018_001.jpg",
        "path": "https://vottannot.blob.core.windows.net/data/NewportHarbor2018_fullres%2FNBHarbor2018_001.jpg?sv=2019-02-02&ss=bfqt&srt=sco&sp=rwdlacup&se=2024-01-30T14:42:34Z&st=2020-01-30T06:42:34Z&spr=https&sig=REDACTEDSIG1",
        "size": {
            "width": 1920,
            "height": 1080
        }

This is added to VOTT file after project is loaded... Same asset as referenced above, with new Asset ID and referencing a different SAS:

"3e46c30638d4a474a0b941027be553a3": {
            "id": "3e46c30638d4a474a0b941027be553a3",
            "format": "jpg",
            "state": 1,
            "type": 1,
            "name": "NewportHarbor2018_fullres%2FNBHarbor2018_001.jpg",
            "path": "https://vottannot.blob.core.windows.net/data/NewportHarbor2018_fullres%2FNBHarbor2018_001.jpg?sv=2019-02-02&ss=bfqt&srt=sco&sp=rwdlacup&se=2021-02-10T13:35:03Z&st=2020-02-10T05:35:03Z&spr=https,http&sig=REDACTEDSIG2",
            "size": {
                "width": 1920,
                "height": 1080
            }

note: REDACTEDSIG1 and REDACTEDSIG2 are different values...

Any ideas on how to fix this?

Thanks!