mnist_dpsgd_tutorial is very slow

未关闭
#175 1 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
25/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
停滞
技术栈
python, tensorflow

调研方向

首先比较 mnist_scratch.py 和 mnist_dpsgd_tutorial.py,分别运行启用和禁用 dpsgd 标志的教程。调查报告中约 990 秒与 12 秒的 epoch 时间,并确定速度变慢的原因。当性能问题得到解释,并提供修复性更改或明确的解决方案时,即视为完成。

由索引模型根据 Issue 内容生成。

描述

I am following the blog regarding the TF-Privacy which basically follows code from two files mnist_scratch.py and mnist_dpsgd_tutorial.py to give the overview.

While mnist_scratch.py is running fine, the other file with the given default setting for flag 'dpsgd' as True is running very slow in training.
It is taking around 990 secs for 1 epoch when DP is enabled and 12 secs when it is disabled.
Could you please help in checking the issue?

I have seen a similar kind of issues but could not find the resolution.

Thanks

主要语言
Python
星标
2k
派生
477
平均合并
17 小时 24 分钟
30 天内合并 PR
4

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

tensorflow/privacy 的其他 Issue

查看 tensorflow/privacy 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。