Type error: cannot unpack non Iterable non type object appears when starting Bert server in Ubuntu system
Questions
Enter Bert serving start – model_ dir chinese_ L-12_ H-768_ A-12 -num_ worker 1 -max_ seq_ In the case of len 64, type error: cannot unpack non Iterable non type object is reported
resolvent
- check whether the startup path is correct, – model_ Dir is followed by the downloaded and unzipped corpus model address. The figure below is my path after decompression. You can right-click on the interface and select “open on terminal”
just re-enter the command. This is the reason for my problem. After re entering the command, no error will be reported
2. Check your tensorflow version, which is not supported at present. My tensorflow version is 1.15.0. OL> 0
Finally, it can run without any error