Keras: to_categorical()
function unused arguments error for Mac OS/Linux
#918
arkanayudhistira
started this conversation in
Common Error
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Error tersebut disebabkan oleh version dari Tensorflow pada python/anaconda/miniconda yang tidak disupport oleh package keras dari R. Pastikan bahwa versi Tensorflow dari komputer anda memiliki versi 2.12 dengan cara berikut:
Buka terminal, pastikan nama environment anda muncul pada bagian kiri sebelum directory anda (contoh:
(base)
)Aktivasi virtual environment yang telah anda buat dengan menggunakan command
conda activate <NAMA_ENV>
(contoh: `conda activate r-tensorflow)Pastikan nama environment anda sudah berubah pada bagian kiri sebelum directory anda (contoh:
(r-tensorflow)
)Periksa versi dari Tensorflow dengan menggunakan command
pip list
Jika versi Tensorflow anda tidak 2.12 seperti contoh diatas, maka anda dapat mengikuti langkah berikut:
pip uninstall tensorflow
conda install tensorflow==2.12
pip list
, pastikan versi tensorflow sudah berubah menjadi versi yang tepatBeta Was this translation helpful? Give feedback.
All reactions