cloud icon indicating copy to clipboard operation
cloud copied to clipboard

Bucket name ending with '/' may error out.

Open pavithrasv opened this issue 5 years ago • 0 comments

From: @yixingfu

Path ending with / makes a problem. For example, when setting path as ‘gs://[BUCKET_NAME]/saves’ works fine, but ‘gs://[BUCKET_NAME]/saves/’ breaks down when trying to reload in remote. For example, running “call_run_on_script_with_keras_save_and_load.py” in the integration test, the log stops updating after the following one: But the job keeps running. I manually killed the job after a while. I think it is because the extra ‘/’ preventing it from correctly loading. Maybe an error should be raised? Or remove any trailing ‘/’ when parsing the path?

pavithrasv avatar Jul 29 '20 03:07 pavithrasv