Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Retrieving saved annotations (after Jupyter server is closed) #23

Open
bryanrhelm opened this issue Aug 1, 2024 · 0 comments
Open

Retrieving saved annotations (after Jupyter server is closed) #23

bryanrhelm opened this issue Aug 1, 2024 · 0 comments

Comments

@bryanrhelm
Copy link

Hi!
I have been working with TissueTag, and I've noticed that I lose my annotation progress for the data that I'm working on when I shut down my Jupyter server that runs the analysis script . However, following the code in the demo, I saved those annotations before closing:

(Example from Demo) Save annoations
isExist = os.path.exists(path+'tissue_annotations2')
if not(isExist):
os.mkdir(path+'/tissue_annotations/')

tt.save_annotation(
folder=path+'/tissue_annotations/',
label_image=labels,
file_name='annotations',
anno_names=list(annodict.keys()),
anno_colors=list(annodict.values()),
ppm = ppm_anno
)
print("done")

I was curious how to load these annotations back into the manual annotator for additional edits? Having a bit of trouble getting my annotations to load back in. Did I miss this is in the materials? Any help would be greatly appreciated! Thanks!
B

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

No branches or pull requests

1 participant