sassoftware / python-dlpy

The SAS Deep Learning Python (DLPy) package provides the high-level Python APIs to deep learning methods in SAS Visual Data Mining and Machine Learning. It allows users to build deep learning models using friendly Keras-like APIs.
Apache License 2.0
224 stars 131 forks source link

Data Message Handlers not supported error while loading BERT when using HTTP/HTTPS Protocol #368

Closed hamiz-ahmed closed 3 years ago

hamiz-ahmed commented 3 years ago

Hi, I am trying to load BERT but running into the following issue.

image

According to my understanding, seems like that this error is resulting because protocol=”https” during the creation of connection in cell 2. However, I tried to change to protocol=”cas” but that resulted in a connection error for me.

Is this a bug or the BERT only supports binary protocol with CAS?

eusdougc commented 3 years ago

@hamiz-ahmed - our DLPy wrapper for BERT relies on data message handlers. Therefore, your only option is to use protocol="cas". This is not a bug.