CORe50 Dataset in Pytorch?

username: jmandivarapu1
cooked: <p>Hey ,</p>
<p>can anyone help me in how to load CORe50 dataset in pytorch?</p>
<p>I did saw a pull request for it but I think it’s not approved yet?<br>
<aside class="onebox githubpullrequest">
  <header class="source">
      <a href="https://github.com/pytorch/vision/pull/340" target="_blank" rel="nofollow noopener">github.com/pytorch/vision</a>
  </header>
  <article class="onebox-body">
      <a href="https://github.com/vlomonaco" target="_blank" rel="nofollow noopener">
    <img alt="vlomonaco" src="https://avatars1.githubusercontent.com/u/4135236?v=4" class="thumbnail onebox-avatar" width="90" height="90">
  </a>

<h4>
  <a href="https://github.com/pytorch/vision/pull/340" target="_blank" rel="nofollow noopener">CORe50 Dataset + reporthook for download in Utils</a>
</h4>

<div class="date">
  by <a href="https://github.com/vlomonaco" target="_blank" rel="nofollow noopener">vlomonaco</a>
  on <a href="https://github.com/pytorch/vision/pull/340" target="_blank" rel="nofollow noopener">02:56AM - 23 Nov 17</a>
</div>

<div class="github-commit-stats">
  <strong>6 commits</strong>
  changed <strong>5 files</strong>
  with <strong>255 additions</strong>
  and <strong>4 deletions</strong>.
</div>

  </article>
  <div class="onebox-metadata">
    
    
  </div>
  <div style="clear: both"></div>
</aside>
</p>
<p>Thank you in Advance.</p>
<p>Regards,<br>
Jay</p>

username: viraat
cooked: <p>You can try to use the classes defined in the PR for the dataset and see if it works.</p>
<p>The below link takes you to that exact file:<br>
<aside class="onebox githubcommit">
  <header class="source">
      <a href="https://github.com/pytorch/vision/pull/340/commits/85073908ed056ce0337112f3fa43ec05a27db2f9#diff-9d08435efde7882d7d3b29e2d120e7b7" target="_blank" rel="nofollow noopener">github.com/pytorch/vision</a>
  </header>
  <article class="onebox-body">
      <a href="https://github.com/vlomonaco" target="_blank" rel="nofollow noopener">
    <img alt="vlomonaco" src="https://avatars1.githubusercontent.com/u/4135236?v=4" class="thumbnail onebox-avatar" width="90" height="90">
  </a>

<h4>
  <a href="https://github.com/pytorch/vision/commit/85073908ed056ce0337112f3fa43ec05a27db2f9" target="_blank" rel="nofollow noopener">CORe50 Dataset added. Utils imporved with reporthook during download.</a>
</h4>


<div class="date">
  by <a href="https://github.com/vlomonaco" target="_blank" rel="nofollow noopener">vlomonaco</a>
  on <a href="https://github.com/pytorch/vision/commit/85073908ed056ce0337112f3fa43ec05a27db2f9" target="_blank" rel="nofollow noopener">01:52AM - 23 Nov 17</a>
</div>

<div class="github-commit-stats">
  changed <strong>5 files</strong>
  with <strong>254 additions</strong>
  and <strong>3 deletions</strong>.
</div>

  </article>
  <div class="onebox-metadata">
    
    
  </div>
  <div style="clear: both"></div>
</aside>
</p>
<p>If you don’t understand what they are doing I suggest you go through the <a href="https://pytorch.org/tutorials/beginner/data_loading_tutorial.html#" rel="nofollow noopener">data loading and processing tutorial</a></p>

username: jmandivarapu1
cooked: <p>Thank you for your response,</p>
<p>I used that link which I posted and got it done before after a lot of changes but the PR is long back in 2017 and dataset has changed a lot of times.</p>
<p>So, I am looking for any inbuilt way to do it so in that way I want to avoid the code changes from my end everytime</p>

username: jmandivarapu1
cooked: <p>Thank you I did implemented successfully the required experiments for me  in pytorch.</p>

username: Vincenzo_Lomonaco
cooked: <p>Hi Jaya, you can use also the framework agnostic data loader that we have here:  <a href="https://github.com/vlomonaco/core50/blob/master/scripts/python/data_loader.py" rel="nofollow noopener">https://github.com/vlomonaco/core50/blob/master/scripts/python/data_loader.py</a></p>
<p>it supports all the main CORe50 protocols!</p>

username: Vincenzo_Lomonaco
cooked: <p>It is now fully supported in <a href="https://github.com/ContinualAI/avalanche" rel="noopener nofollow ugc">Avalanche</a>.</p>