cifar10_train_myway.py 文件源码

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

项目:Gating-types-for-Residual-Networks 作者: luong-vinh 项目源码 文件源码
def main(argv=None):  # pylint: disable=unused-argument
  # Have to set config first
  # TODO: remove the need for this, will check how Python initialize a module
  setConfig()
  cifar10.maybe_download_and_extract()
  config = network_config.getConfig()
  train_dir = config['train_dir']
  if gfile.Exists(train_dir):
    gfile.DeleteRecursively(train_dir)
  gfile.MakeDirs(train_dir)
  train()
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号