|
Re: DeepLearn script
[Re: nerdkorea]
#486372
08/08/22 12:01
08/08/22 12:01
|
Joined: Jul 2000
Posts: 27,986 Frankfurt
jcl
Chief Engineer
|
Chief Engineer
Joined: Jul 2000
Posts: 27,986
Frankfurt
|
I don't know the error message, but it looks as if Keras was installed for CPU and Tensorflow for GPU, so they don't work together.
For the layers, use this command:
Model %>% layer_dense(units=30,activation='relu',input_shape = c(ncol(X))) %>% layer_dropout(rate = 0.2) %>% layer_dense(units = 1, activation = 'sigmoid')
You can copy it from the keras train function on the manual page, and also the subsequent compile command. But I suppose it won't work when the model was not built. If so, deinstall Keras and Tensorflow and install it again. Make sure that both are installed for CPU, not GPU.
|
|
|
Re: DeepLearn script
[Re: jcl]
#486373
08/08/22 12:26
08/08/22 12:26
|
Joined: Aug 2022
Posts: 12
nerdkorea
OP
Newbie
|
OP
Newbie
Joined: Aug 2022
Posts: 12
|
hmm well it does work if I do it like this. Reinstalled completely still the same problem. can you verify that the keras example works on your machine? (and if it works, which version of python and R? the RTest works fine btw. edit: the code from the manual ( https://zorro-project.com/manual/en/deeplearning.htm) also doesn't work for me.
Last edited by nerdkorea; 08/08/22 12:38.
|
|
|
|