apple/turicreate

trailing slash prevents sarray loading from s3

Open

#3.109 geöffnet am 9. Apr. 2020

Auf GitHub ansehen
 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)C++ (1.161 Forks)batch import
S3good first issue

Repository-Metriken

Stars
 (11.135 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

trailing slash will make sarray loading from s3 fail.

import turicreate as tc
tc.config.set_runtime_config("TURI_FILEIO_INSECURE_SSL_CERTIFICATE_CHECKS", 1)
gui = tc.SArray([1])

works with

gui = tc.load_sarray("s3://guihao/tiny_array")

but not with

gui = tc.load_sarray("s3://guihao/tiny_array/")

Surfaced by #3106

Contributor Guide