# How to create wandb.Table with image previews for a big dataset with most efficiency?

**URL:** <https://community.wandb.ai/t/how-to-create-wandb-table-with-image-previews-for-a-big-dataset-with-most-efficiency/3855>\
**Category:** W&B Help\
**Tags:** artifacts, tables, questions, wandb\
**Created:** [February 9, 2023, 10:26am UTC](https://community.wandb.ai/t/how-to-create-wandb-table-with-image-previews-for-a-big-dataset-with-most-efficiency/3855 "2023-02-09T10:26:56Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![daznak](https://avatars.discourse-cdn.com/v4/letter/d/b5e925/32.png) [@daznak](https://community.wandb.ai/u/daznak)\
**Post date:** [February 9, 2023, 10:26am UTC](https://community.wandb.ai/t/how-to-create-wandb-table-with-image-previews-for-a-big-dataset-with-most-efficiency/3855/1 "2023-02-09T10:26:56Z")

</div>

I have a dataset that has ~40k images. I want to upload them all using arifacts, i used run.add\_dir(“path\_to\_dir\_with\_images”).  
I also have a csv that contains the labels of these images as well as the name of the image. Is there a way to create a wandb.Table so that i can explore this csv but also to have a column called images that has a reference to the images from the artifact via the file name. So that when i do EDA i can look at the images that are in the artifact instead of adding a column “images” to the csv and populating it with wandb.Image objects and then uploading it as a wandb.Table?

---

<div class="post-metadata">

**Author:** ![bill-morrisson](https://avatars.discourse-cdn.com/v4/letter/b/90ced4/32.png) [@bill-morrisson](https://community.wandb.ai/u/bill-morrisson)\
**Post date:** [February 13, 2023, 9:56pm UTC](https://community.wandb.ai/t/how-to-create-wandb-table-with-image-previews-for-a-big-dataset-with-most-efficiency/3855/2 "2023-02-13T21:56:08Z")

</div>

Hey Milos,

Thank you for bringing that up! I will be looking into it internally and let you know as soon as possible.

---

<div class="post-metadata">

**Author:** ![bill-morrisson](https://avatars.discourse-cdn.com/v4/letter/b/90ced4/32.png) [@bill-morrisson](https://community.wandb.ai/u/bill-morrisson)\
**Post date:** [February 17, 2023, 8:09pm UTC](https://community.wandb.ai/t/how-to-create-wandb-table-with-image-previews-for-a-big-dataset-with-most-efficiency/3855/3 "2023-02-17T20:09:33Z")

</div>

Hey Milos,

Thank you very much for your patience!  
Yes, there is a way you can create a **wandb.Table** that references images in your artifact via their file names.

---

<div class="post-metadata">

**Author:** ![bill-morrisson](https://avatars.discourse-cdn.com/v4/letter/b/90ced4/32.png) [@bill-morrisson](https://community.wandb.ai/u/bill-morrisson)\
**Post date:** [February 23, 2023, 9:26pm UTC](https://community.wandb.ai/t/how-to-create-wandb-table-with-image-previews-for-a-big-dataset-with-most-efficiency/3855/4 "2023-02-23T21:26:36Z")

</div>

Hello Milos,

Is everything alright with your query? Have you tried it?

---

<div class="post-metadata">

**Author:** ![tommasodelorenzo](https://avatars.discourse-cdn.com/v4/letter/t/a88e4f/32.png) [@tommasodelorenzo](https://community.wandb.ai/u/tommasodelorenzo)\
**Post date:** [March 7, 2023, 11:19am UTC](https://community.wandb.ai/t/how-to-create-wandb-table-with-image-previews-for-a-big-dataset-with-most-efficiency/3855/5 "2023-03-07T11:19:29Z")

</div>

@bill-morrisson . I am interested as well. Could you provide a reference about how to do so?

---

<div class="post-metadata">

**Author:** ![mikkelkragh](https://avatars.discourse-cdn.com/v4/letter/m/f14d63/32.png) [@mikkelkragh](https://community.wandb.ai/u/mikkelkragh)\
**Post date:** [March 13, 2023, 2:15pm UTC](https://community.wandb.ai/t/how-to-create-wandb-table-with-image-previews-for-a-big-dataset-with-most-efficiency/3855/6 "2023-03-13T14:15:38Z")

</div>

@bill-morrisson . Same here, I’m very interested in how to do this, as, in my case, the full table including wandb.Image objects does not fit in memory.

---

<div class="post-metadata">

**Author:** ![eazy](https://avatars.discourse-cdn.com/v4/letter/e/f19dbf/32.png) [@eazy](https://community.wandb.ai/u/eazy)\
**Post date:** [April 18, 2023, 8:29pm UTC](https://community.wandb.ai/t/how-to-create-wandb-table-with-image-previews-for-a-big-dataset-with-most-efficiency/3855/7 "2023-04-18T20:29:57Z")

</div>

Still no updates? Am also interested in this

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/wandb/original/1X/366b649231631dbab896843020da0056074ac79d.png) [@system](https://community.wandb.ai/u/system)\
**Post date:** [June 17, 2023, 8:30pm UTC](https://community.wandb.ai/t/how-to-create-wandb-table-with-image-previews-for-a-big-dataset-with-most-efficiency/3855/8 "2023-06-17T20:30:27Z")

</div>

Closed on June 17, 2023, 8:30pm UTC

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
