tarrade / proj_multilingual_text_classification

Explore multilingal text classification using embedding, bert and deep learning architecture
Apache License 2.0
4 stars 1 forks source link

SDK issue on AI Platform notebook? #44

Closed tarrade closed 4 years ago

tarrade commented 4 years ago

WARNING: Unexpected tensorflow version 2020-05-05 15:37:45.830114: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'libnvinfer.so.6'; dlerror: libnvinfer.so.6: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /usr/local/nvidia/lib:/usr/local/nvidia/lib64 2020-05-05 15:37:45.830246: W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'libnvinfer_plugin.so.6'; dlerror: libnvinfer_plugin.so.6: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /usr/local/nvidia/lib:/usr/local/nvidia/lib64 2020-05-05 15:37:45.830270: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:30] Cannot dlopen some TensorRT libraries. If you would like to use Nvidia GPU with TensorRT, please make sure the missing libraries mentioned above are installed properly. 2.1.0 , using the default primary node name, aka "chief" for cluster settings <subprocess.Popen object at 0x7fb12f4163d0>

tarrade commented 4 years ago

solution update SDK ? https://github.com/GoogleCloudPlatform/cloudml-samples/issues/476

vluechinger commented 4 years ago

Updating the gcloud components while ssh-ing the vm with gcloud components update solved the problem. More specifically, the suggested code sudo apt-get update && sudo apt-get --only-upgrade install google-cloud-sdk-app-engine-grpc google-cloud-sdk-cbt google-cloud-sdk-kind google-cloud-sdk-minikube kubectl google-cloud-sdk google-cloud-sdk-pubsub-emulator google-cloud-sdk-firestore-emulator google-cloud-sdk-app-engine-python-extras google-cloud-sdk-app-engine-java google-cloud-sdk-app-engine-python google-cloud-sdk-bigtable-emulator google-cloud-sdk-app-engine-go google-cloud-sdk-datastore-emulator google-cloud-sdk-cloud-build-local google-cloud-sdk-datalab google-cloud-sdk-skaffold google-cloud-sdk-kpt was applied to get Google Cloud SDK from version [283.0.0] to [291.0.0].