nutsh icon indicating copy to clipboard operation
nutsh copied to clipboard

SAM segmentation from local files do not hold

Open tiagojc opened this issue 2 years ago • 2 comments

Hey guys, congratulations on your excellent initiative! Nutsh is amazing as tool for annotation.

Today along annotation process the JSON file was corrupted by some reason and I lost all my frames annotation. Is it possible to recovery it and correct the JSON manually ?

Screenshot 2023-10-26 at 23 20 31

Since now, thank you

tiagojc avatar Oct 26 '23 03:10 tiagojc

@tiagojc Hi, could you send the database file to me to let me have a look? Hopefully I can recover your data. The file is located at $WORKSPACE/dabatase/db.sqlite3. (yeah, I just noted the typo dabatase...) If you started nutsh using the default setting, $WORKSPACE will be ~/.nutsh.

hxhxhx88 avatar Oct 27 '23 02:10 hxhxhx88

@tiagojc Or you can in your browser visit $NUTSH_ORIGIN/api/video/$VIDEO_ID/annotation to get the data JSON and post it to me. Replace $NUTSH_ORIGIN with the origin you visit your nutsh deployment, and $VIDEO_ID with the video id which you can read from the url of annotation panel.

hxhxhx88 avatar Oct 27 '23 02:10 hxhxhx88