# Dataset class load other types of data instead of image

**URL:** <https://discuss.pytorch.org/t/dataset-class-load-other-types-of-data-instead-of-image/10755>\
**Category:** Uncategorized\
**Created:** [December 4, 2017, 2:50pm UTC](https://discuss.pytorch.org/t/dataset-class-load-other-types-of-data-instead-of-image/10755 "2017-12-04T14:50:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![abandon\_tf](https://discuss.pytorch.org/user_avatar/discuss.pytorch.org/abandon_tf/32/12277_2.png) [@abandon\_tf](https://discuss.pytorch.org/u/abandon_tf)\
**Post date:** [December 4, 2017, 2:50pm UTC](https://discuss.pytorch.org/t/dataset-class-load-other-types-of-data-instead-of-image/10755/1 "2017-12-04T14:50:49Z")

</div>

I build a `Dataset` class and followed the tutorials to use pandas DataFrame read my data. The size of my data are 2GB. When I call it in my main file, I found it costs too much cpu resources and memory(12GB). It’s not like image that people can load one image per time, so I wonder how could I process this more efficient.  
Any idea would help. Thanks.
