当前位置:网站首页>Attributeerror: 'tuple' object has no attribute 'layer' problem solving
Attributeerror: 'tuple' object has no attribute 'layer' problem solving
2022-07-03 00:32:00 【Go crazy first.】
One 、 Problem description
install keras_bert、tensorflow、keras after , The original program works well , After training two models, everything is normal , Then because of Bert English participle hour ,keras_bert Not meeting the requirements , tried transformers and bert4keras Medium tokenizer after , All of a sudden, an error was reported , There is a problem with model generation .
Looking up the data of many parties shows that the version is incompatible ,tensorflow2.0 The above will appear and keras Version of the problem .
Two 、 Problem solving
Test passed version 1:
python == 3.6
tensorflow-gpu == 2.2.0
keras == 2.4.3
keras_bert == 0.89.0
edition 2:
python 2.7 + tensorflow 1.13 + keras 2.2.4
3、 ... and 、 Problem solving
Version matching is very important !!!
thus , Problem solving !
边栏推荐
- Pageoffice - bug modification journey
- Why is the website slow to open?
- JSON conversion tool class
- Redis21 classic interview questions, extreme pull interviewer
- NC17059 队列Q
- [shutter] Introduction to the official example of shutter Gallery (learning example | email application | retail application | wealth management application | travel application | news application | a
- Two common methods and steps of character device registration
- Architecture: load balancing
- AcWing_ 188. Warrior cattle_ bfs
- 使用jenkins之二Job
猜你喜欢
maya渔屋建模
What website can you find English literature on?
Multiprocess programming (I): basic concepts
Bigder:32/100 测试发现的bug开发认为不是bug怎么处理
写论文可以去哪些网站搜索参考文献?
UART、RS232、RS485、I2C和SPI的介绍
请问大家在什么网站上能查到英文文献?
One of the reasons why setinterval timer does not take effect in ie: the callback is the arrow function
What are the recommended thesis translation software?
Architecture: load balancing
随机推荐
国外的论文在那找?
Angled detection frame | calibrated depth feature for target detection (with implementation source code)
奥斯陆大学:Li Meng | 基于Swin-Transformer的深度强化学习
MySQL 23 classic interview hanging interviewer
AcWing_188. 武士风度的牛_bfs
TypeError: Cannot read properties of undefined (reading ***)
Missing number
经济学外文文献在哪查?
Chapter 4 of getting started with MySQL: data types stored in data tables
NC24840 [USACO 2009 Mar S]Look Up
The most painful programming problem in 2021, adventure of code 2021 Day24
Markdown使用教程
Multiprocess programming (V): semaphores
Automated defect analysis in electron microscopic images-论文阅读笔记
Architecture: database architecture design
Logback configuration file
AcWing_ 188. Warrior cattle_ bfs
Multiprocess programming (II): Pipeline
秒杀系统设计
[shutter] Introduction to the official example of shutter Gallery (learning example | email application | retail application | wealth management application | travel application | news application | a