I find tensorflow code.
Is it possible to use this in pytorch?

  
      github.com
  
  
    erictzeng/adda/blob/master/adda/data/usps.py 29
import gzip
import os
from urllib.parse import urljoin

import numpy as np

from adda.data import DatasetGroup
from adda.data import ImageDataset
from adda.data import util
from adda.data.dataset import register_dataset


@register_dataset('usps')
class USPS(DatasetGroup):
    """USPS handwritten digits.

    Homepage: http://statweb.stanford.edu/~hastie/ElemStatLearn/data.html

    Images are 16x16 grayscale images in the range [0, 1].
    """


  This file has been truncated. show original