惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

aimingoo的专栏
aimingoo的专栏
Engineering at Meta
Engineering at Meta
有赞技术团队
有赞技术团队
博客园_首页
Apple Machine Learning Research
Apple Machine Learning Research
Vercel News
Vercel News
G
Google Developers Blog
Blog — PlanetScale
Blog — PlanetScale
IT之家
IT之家
MongoDB | Blog
MongoDB | Blog
Y
Y Combinator Blog
B
Blog
The GitHub Blog
The GitHub Blog
M
MIT News - Artificial intelligence
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Stack Overflow Blog
Stack Overflow Blog
C
Check Point Blog
Microsoft Azure Blog
Microsoft Azure Blog
D
DataBreaches.Net
I
InfoQ
Recent Announcements
Recent Announcements
阮一峰的网络日志
阮一峰的网络日志
腾讯CDC
H
Help Net Security

博客园 - sinxsoft

loss.py:result type Float can't be cast to the desired output type long int 非root账号,要写入特定文件夹的处理措施 Docker 运行你的Springboot应用。 阿里巴巴中间件团队出品的开源软件以及商业云服务(转) storm 配置,呵呵。 dubbo+zookeeper集群配置 zookeeper分布式部署-mac先测试 tomcat8和7关于自定义tag的处理区别 每个程序员都必读的10篇文章 Java 之ThreadLocal 对应C#之ThreadStatic eclipse 引用项目(转) 债券发行价格招标和收益率招标:需要搞定 IIS之应用程序池-Web园-最大工作进程>1时系统出现问题 研究jBPM和NetBPM 研究:Microsoft Solution Framework SCRUM迭代增量式软件开发过程研究 多说多做多想。 架构师培训笔记: 从今天开始,向注册会计师进军。
AttributeError: module 'numpy' has no attribute &...
sinxsoft · 2023-03-13 · via 博客园 - sinxsoft

AttributeError: module 'numpy' has no attribute 'int'. `np.int` was a deprecated alias for the builtin `int`. To avoid this error in existing code, use `int` by itself. Doing this will not modify any behavior and is safe. When replacing `np.int`, you may wish to use e.g. `np.int64` or `np.int32` to specify the precision. If you wish to review your current use, check the release note link for additional information. The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at: https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations 针对1.2以上版本,已经没有int了,用int_代替

posted on 2023-03-13 12:26  sinxsoft  阅读(991)  评论()    收藏  举报