clip-as-service icon indicating copy to clipboard operation
clip-as-service copied to clipboard

Running bc = BertClient () in google Colab has been unable to run successfully.

Open muzimua opened this issue 2 years ago • 0 comments

Prerequisites

Please fill in by replacing [ ] with [x].

System information

Some of this information can be collected via this script.

  • OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
  • TensorFlow installed from (source or binary):
  • TensorFlow version:
  • Python version:
  • bert-as-service version:
  • GPU model and memory:
  • CPU model and memory:

Description

Please replace YOUR_SERVER_ARGS and YOUR_CLIENT_ARGS accordingly. You can also write your own description for reproducing the issue.

I'm using this command to start the server:

bert-serving-start YOUR_SERVER_ARGS

and calling the server via:

bc = BertClient(YOUR_CLIENT_ARGS)
bc.encode()

Then this issue shows up: I ran it according to #380 last reply. But this step( bc = BertClient () ) has been running all the time, and it has been a long time without results (I turned on the GPU). How can I successfully output the text vector? Any help from you will be greatly appreciated. image

muzimua avatar Mar 18 '22 15:03 muzimua