Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

《联邦学习实战》 #1

Open
huyz1117 opened this issue Mar 12, 2021 · 15 comments
Open

《联邦学习实战》 #1

huyz1117 opened this issue Mar 12, 2021 · 15 comments

Comments

@huyz1117
Copy link

你好,请问《联邦学习实战》这本书出版了吗?网上没搜到这本书。谢谢!

@innovation-cat
Copy link
Contributor

你好,感谢关注,这本书会在近期出版,预计在3月底。

@Yang-cpu502
Copy link

你好,运行《联邦学习实战》第三章时出现with open(args.conf, 'r') as f:
TypeError: expected str, bytes or os.PathLike object, not NoneType
这个问题?是路径问题吗?

@LiChiCheer
Copy link

你好,运行这个《学生学习实战》第三章时出现 with open(args.conf, 'r') as f:
TypeError: expected str, bytes or os.PathLike object, not NoneType question
?是路径问题吗?

同样遇到这个问题?请问你解决了嘛

@Yang-cpu502
Copy link

Yang-cpu502 commented Jun 28, 2021 via email

@LiChiCheer
Copy link

LiChiCheer commented Jun 29, 2021 via email

@Yang-cpu502
Copy link

Yang-cpu502 commented Jun 29, 2021 via email

@LiChiCheer
Copy link

LiChiCheer commented Jun 30, 2021 via email

@Yang-cpu502
Copy link

Yang-cpu502 commented Jun 30, 2021 via email

@LiChiCheer
Copy link

LiChiCheer commented Jul 1, 2021 via email

@Yali3020
Copy link

嘿 大家好 我也想和大家一起学fl 我们建个学习交流群? 我微信号是Dreamer3020

@qiqiqiqiqiqiqiq
Copy link

qiqiqiqiqiqiqiq commented Aug 28, 2021

你好:       是的,是路径问题,你把它改成那个配置文件的路径试试,我是这么改的,可以运行了。

---原始邮件--- 发件人: @.> 发送时间: 2021年6月28日(星期一) 中午11:54 收件人: @.>; 抄送: @.@.>; 主题: Re: [FederatedAI/Practicing-Federated-Learning] 《联邦学习实战》 (#1) 你好,运行这个《学生学习实战》第三章时出现 with open(args.conf, 'r') as f: TypeError: expected str, bytes or os.PathLike object, not NoneType question ?是路径问题吗? 同样遇到这个问题?请问你解决了嘛 — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

你好,我也遇到一样的问题,请问具体修改哪里就行了呢?怎么修改配置文件的路径呢?谢谢

@scottshufe
Copy link

你好:       是的,是路径问题,你把它改成那个配置文件的路径试试,我是这么改的,可以运行了。

---原始邮件--- 发件人: @.> 发送时间: 2021年6月28日(星期一) 中午11:54 收件人: _@**._>; 抄送: _@.@.**_>; 主题: Re: [FederatedAI/Practicing-Federated-Learning] 《联邦学习实战》 (#1) 你好,运行这个《学生学习实战》第三章时出现 with open(args.conf, 'r') as f: TypeError: expected str, bytes or os.PathLike object, not NoneType question ?是路径问题吗? 同样遇到这个问题?请问你解决了嘛 — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

你好,我也遇到一样的问题,请问具体修改哪里就行了呢?怎么修改配置文件的路径呢?谢谢

In main.py, try changing:
with open(args.conf, 'r') as f:
to
with open('./utils/config.json', 'r') as f:

@w-yd
Copy link

w-yd commented May 25, 2022

python main.py --conf='./utils/conf.json' 和我说文件不存在

@LiChiCheer
Copy link

LiChiCheer commented May 27, 2022 via email

@Niujie-hot
Copy link

第15章中差分隐私下联邦学习的代码,在联邦学习进行模型聚合后,添加噪声会导致模型预测值均为Nan,导致loss为Nan,acc为10,请问这是为什么

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants