deepmind-research icon indicating copy to clipboard operation
deepmind-research copied to clipboard

[enformer] enformer-training.ipynb failed to get dataset

Open zztin opened this issue 2 years ago • 5 comments

Hi,

I am trying to run the notebooks provided by the author within the enformer package. However, I faced CA certification problem while running this line: human_dataset = get_dataset('human', 'train').batch(1).repeat()

The error message is FailedPreconditionError: Error executing an HTTP request: libcurl code 77 meaning 'Problem with the SSL CA cert (path? access rights?)', error details: error setting certificate verify locations: CAfile: /etc/ssl/certs/ca-certificates.crt CApath: none when reading metadata of gs://basenji_barnyard/data/human/statistics.json

Do you know how can I solve this?

zztin avatar Nov 11 '21 15:11 zztin

Also for the section "Score variants in a VCF file" in the enformer-usage.ipynb, this line also fails with similar problem:

enformer_score_variants = EnformerScoreVariantsPCANormalized(model_path, transform_path, num_top_features=20)

The error message:

2021-11-12 14:28:55.158094: W tensorflow/core/platform/cloud/google_auth_provider.cc:184] All attempts to get a Google authentication bearer token failed, returning an empty token. Retrieving token from files failed with "Not found: Could not locate the credentials file.". Retrieving token from GCE failed with "Failed precondition: Error executing an HTTP request: libcurl code 6 meaning 'Couldn't resolve host name', error details: Couldn't resolve host 'metadata'".

FailedPreconditionError: Error executing an HTTP request: libcurl code 77 meaning 'Problem with the SSL CA cert (path? access rights?)', error details: error setting certificate verify locations: CAfile: /etc/ssl/certs/ca-certificates.crt CApath: none when reading gs://dm-enformer/models/enformer.finetuned.SAD.robustscaler-PCA500-robustscaler.transform.pkl

zztin avatar Nov 12 '21 13:11 zztin

In short, To access files on gs://, I need some kind of certification. I do not have a SSL CAfile at this path: /etc/ssl/certs/ca-certificates.crt Do you know how I can create one that's valid?

zztin avatar Nov 12 '21 15:11 zztin

Hey zztin,

I'm running into the same issue!

HYsxe avatar Dec 15 '21 20:12 HYsxe

Hi, is there any update on this issue ?

Kabongosalomon avatar Mar 28 '22 10:03 Kabongosalomon

the issue appears to be one from tensorflow itself https://github.com/tensorflow/tensorflow/issues/40065

sheetalgiri avatar Apr 10 '22 18:04 sheetalgiri