From cc8bbe8fa47f8e7c509da5da06a847e984731099 Mon Sep 17 00:00:00 2001 From: BrikerMan Date: Thu, 29 Oct 2020 14:19:28 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=8C=20Pin=20dependencies=20to=20specif?= =?UTF-8?q?ic=20versions.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- requirements.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 4ddbdd54..f7ae01f1 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2,7 +2,9 @@ numpy>=1.18.1 gensim>=3.8.1 pandas>=1.0.1 tqdm -bert4keras>=0.7.9 +# Limit this version to avoid json serilization issue. +# See https://github.com/bojone/bert4keras/issues/241 +bert4keras==0.7.9 scikit-learn>=0.21.1 tensorflow>=2.1.0 tensorflow_addons