-
Notifications
You must be signed in to change notification settings - Fork 341
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
Support read image from local path #428
Comments
You can turn up a local http server (nginx is a good bet) then have a CSV
or parquet file with something like "http://localhost/myimg124.jpg" in it
and then give that csv to img2dataset
…On Wed, May 29, 2024, 9:46 AM Luo_yuansheng ***@***.***> wrote:
My dataset is on disk, and I want to use img2dataset to convert it as
webdataset. But img2dataset cannot read local path images.
—
Reply to this email directly, view it on GitHub
<#428>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAR437UL5APKYT6LRYYLGDDZEWBTXAVCNFSM6AAAAABIOLSEF2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGMZDENRRGUYTQNQ>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
We could also have direct support for local files but honestly it would not
be very different from the above solution
On Wed, May 29, 2024, 10:42 AM Romain Beaumont ***@***.***>
wrote:
… You can turn up a local http server (nginx is a good bet) then have a CSV
or parquet file with something like "http://localhost/myimg124.jpg" in it
and then give that csv to img2dataset
On Wed, May 29, 2024, 9:46 AM Luo_yuansheng ***@***.***>
wrote:
> My dataset is on disk, and I want to use img2dataset to convert it as
> webdataset. But img2dataset cannot read local path images.
>
> —
> Reply to this email directly, view it on GitHub
> <#428>, or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AAR437UL5APKYT6LRYYLGDDZEWBTXAVCNFSM6AAAAABIOLSEF2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGMZDENRRGUYTQNQ>
> .
> You are receiving this because you are subscribed to this thread.Message
> ID: ***@***.***>
>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
My dataset is on disk, and I want to use img2dataset to convert it as webdataset. But img2dataset cannot read local path images.
The text was updated successfully, but these errors were encountered: