Apply tensorflow 2.0's v1 compatibility layer so the code works with TF2.#615
Apply tensorflow 2.0's v1 compatibility layer so the code works with TF2.#615mmohaveri wants to merge 1 commit intojina-ai:mainfrom
Conversation
|
Hi @mmohaveri But I then get the following error even though the Bert model is there. Any idea what might be going wrong? |
|
@AndreaSottana were you able to get it to work? |
|
@mmohaveri How do you run BAS from the source code? |
|
@Akila-Ayanthi No I didn't, I suspect the original code from hanxiao:master (last commit August 2020) is not |
|
@AndreaSottana Thank you. |
The current master does not work with Tensorflow 2.0 because it's using a set of deprecated APIs.
This PR will replace those deprecated APIs with the ones from "tf.compat.v1".