Closed Zcchill closed 1 year ago
@Zcchill I'm not sure what would cause this. I'm submitting an issue to Tensorflow Datasets to investigate. You may want to try to downloading the prerequisite raw datasets using tf.load() as suggested in #37, in case the problem is related to that issue.
Strange that it's trying to download that vocabulary. I don't see it referenced in your code.
Ah, it is referenced here: https://github.com/google-research/FLAN/blob/8e6ee0f3c1cc0184f8237997200ccb7bcbc6c40a/flan/v2/constants.py#L31
I'm not sure why that file would not be accessible to you though. We use this same code in many places.
I have met the same problem, unable to get the metadata
2023-05-02 20:02:02.843261: W tensorflow/tsl/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 "ABORTED: All 10 retry attempts failed. The last failure: Error executing an HTTP request: HTTP response code 502".
How did you solve it
My error:
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: Could not resolve host: metadata".
export CURL_CA_BUNDLE=/etc/ssl/certs/ca-bundle.crt
solved it
2023-06-23 15:49:57.853557: W tensorflow/tsl/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: Could not resolve host: metadata.google.internal".
I create a new environment with python3.8 and have installed all of the packages showed in requirements.txt and run
PYTHONPATH=. python flan/v2/run_example.py
, however, I failed for the following reasons:And the intalled packages are shown below:(cuda 11.6)
How could I solve this problem? Is this a network error or python environmental support problem?