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

DEEPCELL_ACCESS_TOKEN #694

Open
mzj0418 opened this issue Sep 5, 2023 · 6 comments
Open

DEEPCELL_ACCESS_TOKEN #694

mzj0418 opened this issue Sep 5, 2023 · 6 comments
Labels
datasets Related to data in deepcell.datasets

Comments

@mzj0418
Copy link

mzj0418 commented Sep 5, 2023

**ValueError:
DEEPCELL_ACCESS_TOKEN not found.
Please set your access token to the DEEPCELL_ACCESS_TOKEN
environment variable.
For example:

export DEEPCELL_ACCESS_TOKEN=<your-token>.

If you don't yet have a token, you can create one at
https://users.deepcell.org
**

To Reproduce
Steps to reproduce the behavior:

  1. Run '
    from deepcell.applications import Mesmer
    app = Mesmer()
    '

2.I tried to log in to the given website address (https://users.deepcell.org/login/) to get the token, but after registering and logging in it kept showing username and password mismatch, and forgetting the password and resetting it to send it to email never responded.
See error "Your username and password didn't match. Please try again."

Expected behavior
I want to run mesmer_segmentation successfully!

Screenshots
image

@mzj0418 mzj0418 added the bug Something isn't working label Sep 5, 2023
@rharkes
Copy link

rharkes commented Sep 5, 2023

https://github.com/vanvalenlab/deepcell-tf/blob/master/docs/source/API-key.rst
They seem to require an API-key to fetch data from https://users.deepcell.org/api/getData/
See here
I don't like this, since I'm now also waiting for my account to be approved.

@rossbar
Copy link
Contributor

rossbar commented Sep 7, 2023

Starting with deepcell v0.12.7, models and datasets are accessed via an authentication system in alignment with the license terms, particularly the provisions re: commercial use.

The mods for the authentication system will begin responding shortly - apologies for any delays as we figure out the new system.

Note that previously-published models such as Mesmer are still available in older versions, i.e. v0.12.6 and below.

@rossbar rossbar changed the title DEEPCELL_ACCESS_TOKEN not found. DEEPCELL_ACCESS_TOKEN Sep 7, 2023
@rossbar rossbar added datasets Related to data in deepcell.datasets and removed bug Something isn't working labels Sep 7, 2023
@rossbar rossbar pinned this issue Sep 7, 2023
@mzj0418
Copy link
Author

mzj0418 commented Sep 8, 2023

@rossbar Thanks for your reply, I tried using deepcell v0.12.2 and successfully obtained the previously-published model(Mesmer).

@DorisxinDU
Copy link

DorisxinDU commented Sep 13, 2023

Starting with deepcell v0.12.7, models and datasets are accessed via an authentication system in alignment with the license terms, particularly the provisions re: commercial use.

The mods for the authentication system will begin responding shortly - apologies for any delays as we figure out the new system.

Note that previously-published models such as Mesmer are still available in older versions, i.e. v0.12.6 and below.

@rossbar hello, I am still struggling with using Mesmer model by the code from deepcell.applications import Mesmer
app = Mesmer(), I have install the deepcell version to v0.12.6, but still got errors, and I cannot get token from the website, please can you let me know how did you do it step by step. Thansk very much for your help.

@rossbar
Copy link
Contributor

rossbar commented Sep 13, 2023

@DorisxinDU Mesmer is still available in older releases without the need for an API key. If you are getting exceptions related to access tokens, that means you are in an environment with deepcell-tf > 0.12.7. Please double-check your environment setup!

@liuyangzzu
Copy link

Dear author,

I have applied the token for my account: yang.liu@jax.org one week before. But I haven't got your reply. Would you please help me to get my token? Thank you!

Best regards,

Yang

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

No branches or pull requests

5 participants