keep-loving-pythonのブログ

Pythonを愛し続けたいです(Pythonが流行っている限りですが。。。)

2023-02-04から1日間の記事一覧

解決策。ModuleNotFoundError: No module named 'official.nlp.bert'

解決策。ModuleNotFoundError: No module named 'official.nlp.bert' 環境 windows10 python3.7.2 GPUなしpc エラー 2.10.1 Traceback (most recent call last): File "Fine_Tune_BERT_for_Text_Classification_with_TensorFlow.py", line 114, in <module> from off</module>…

解決策。AttributeError: module 'tensorflow.keras.optimizers' has no attribute 'experimental'

解決策。AttributeError: module 'tensorflow.keras.optimizers' has no attribute 'experimental' 環境 windows10 python3.7.2 GPUなしpc エラー Traceback (most recent call last): File "Fine_Tune_BERT_for_Text_Classification_with_TensorFlow.py", l…

解決策。tensorflow.python.framework.errors_impl.ResourceExhaustedError: OOM when allocating tensor with shape

解決策。tensorflow.python.framework.errors_impl.ResourceExhaustedError: OOM when allocating tensor with shape 環境 windows10 python3.7.2 GPUなしpc エラー tensorflow.python.framework.errors_impl.ResourceExhaustedError: OOM when allocating t…

解決策。Pythonがしれっとプロンプトに戻る。

解決策。Pythonがしれっとプロンプトに戻る。 環境 windows10 python3.7.2 GPUなしpc 対象プログラム https://github.com/shrikantnaidu/BERT-for-Text-Classification-with-TensorFlow Fine_Tune_BERT_for_Text_Classification_with_TensorFlow.ipynbをpyフ…