dataset.py 文件源码

python
阅读 27 收藏 0 点赞 0 评论 0

项目:odin 作者: imito 项目源码 文件源码
def __getstate__(self):
    if not self._new_args_called:
      raise RuntimeError(
          "You must use argument `protocol=cPickle.HIGHEST_PROTOCOL` "
          "when using `pickle` or `cPickle` to be able pickling Dataset.")
    self._new_args_called = False
    return self.path, self.read_only
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号