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

Successfully exported 0 annotations of annotator [email protected] to ./output/. #149

Open
SAIVENKATARAJU opened this issue Nov 18, 2021 · 8 comments

Comments

@SAIVENKATARAJU
Copy link

Hi
I was trying to export the annotations which are so far completed using the below command. here is my file structure is attaching can you please help me with this. I have used [email protected]_annotations.json, [email protected] both the file names in place of markn. but no luck.
pawls export <labeling_folder> <labeling_config> <output_path> <format> -u markn
oannotations
filepath

@codeviking
Copy link
Contributor

It looks like this might be because of a typo? The command in your screenshot is trying to export annotations for [email protected], the t on development is missing.

@SAIVENKATARAJU
Copy link
Author

Hi
Thanks for your quick response. I will check that. But my doubt is what should we use here in the command instead of markn. Is it [email protected] or [email protected]_anotations.json file

@codeviking
Copy link
Contributor

codeviking commented Nov 18, 2021

It's the name of the user. So you shouldn't include the .json suffix, that's the filename.

So I'd try [email protected]. The code (I think) adds the .json suffix for you. If that doesn't work, you could try development_user too (by omitting the email host).

I'm not familiar with the specifics of that code, but can take a look if none of these alternatives do the trick.

@SAIVENKATARAJU
Copy link
Author

SAIVENKATARAJU commented Nov 18, 2021

HI @codeviking ,
Unfortunately, None of the ways are worked. I use [email protected] and with out email host. I evan copy the files like _annotation.json, status/development_user.json to ./cli/skiff_files/apps/pawls/papers/( when we are annotating actual values are appending to /skiff_files/apps/pawls/papers/ outside of CLI like above and even user_annotation.json also creating here)

@SAIVENKATARAJU
Copy link
Author

I am attaching [email protected]. json content here.I think its hsowing I have done 89 annotations.
{"e4e006fa27de79ff20b31011c3a57e8397a99bb06fdb518a3320a7096cc52bb8": {"sha": "e4e006fa27de79ff20b31011c3a57e8397a99bb06fdb518a3320a7096cc52bb8", "name": "e4e006fa27de79ff20b31011c3a57e8397a99bb06fdb518a3320a7096cc52bb8", "annotations": 89, "relations": 0, "finished": false, "junk": false, "comments": "", "completedAt": null}}

@codeviking
Copy link
Contributor

codeviking commented Nov 18, 2021

I wouldn't suggest manipulating the filesystem manually. It's possible the manual manipulations somehow caused the filesystem structure to differ from what the command expects, and that's the issue.

Could you try omitting the user entirely (just remove the -u argument)? That'll export annotations for all users, and confirm whether the issue has to do with the username or not.

Also, it looks like your annotations aren't finished. Maybe you need to add the --include-unfinished flag. Can you try that too?

@SAIVENKATARAJU
Copy link
Author

it worked with out user and including **--include-unfinished ** flag. but strange it detect only one annotations.
one_annotation

@codeviking
Copy link
Contributor

I suspect that might have to do with the local modifications you've made to the file tree. I'm not sure if we'll be able to provide much more help, sorry!

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

2 participants