Gamestudio Links
Zorro Links
Newest Posts
folder management functions
by VoroneTZ. 04/17/24 06:52
lookback setting performance issue
by 7th_zorro. 04/16/24 03:08
zorro 64bit command line support
by 7th_zorro. 04/15/24 09:36
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:48
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:46
LPDIRECT3DCUBETEXTUR
E9

by Ayumi. 04/12/24 11:00
Sam Foster Sound | Experienced Game Composer for Hire
by titanicpiano14. 04/11/24 14:56
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (Quad, AndrewAMD), 410 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
11honza11, ccorrea, sakolin, rajesh7827, juergen_wue
19045 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Deeplearning Script #488111
01/24/24 16:22
01/24/24 16:22
Joined: Jan 2024
Posts: 2
W
wolfi Offline OP
Guest
wolfi  Offline OP
Guest
W

Joined: Jan 2024
Posts: 2
Tried to get working the Deeplearning Script - only successful in small parts:

Installation: win 10, zorro 2.56, R 4.3.2, Python (version 3.11.5 or 6) within R, as alternative as system installation or Anaconda3, Keras always as R package (version 2.13), Caret, Deepnet

My Experience:
- Got working Deepnet from inside R ("neural.test()") and from Zorro as expected. Had to move set.seed() from neural.init() to neural.train() to get identical results from one to multicore training.
- Keras/Tensorflow runs within R using neural.train(). Set.seed() same as above. Had to change predict_proba() to predict(), function was removed in Keras version2.6. No chance to get it working from Zorro, used some sink() calls in neural.save(). Looks like function call Rx( neural.save....) does not start. R is still running. No idea what is wrong, does neural.train() not return properly?
- Installing MxNet impossible, URL does not exist anymore. Project has "retired"..... when you are searching for information of this project.

Due to the fact, that deepnet is limited to 3 layers (known issue, no change since years - no maintenance), MxNet not existing anymore at least for R, i would like to get working Keras/Tensorflow. In the forum i could see some comments about this problem (Keras), but no clear advise how to overcome the problem. Is it a problem of my software installation or has Keras changed so much, that the script does not work anymore (in contradiction to the working neural.test()). Is there an interference between Keras and the R-Bridge?

So any comment would be appreciated.

Re: Deeplearning Script [Re: wolfi] #488133
02/07/24 18:28
02/07/24 18:28
Joined: Feb 2018
Posts: 68
T
tomaslolo Offline
Junior Member
tomaslolo  Offline
Junior Member
T

Joined: Feb 2018
Posts: 68
Hello wolfi!, I have Zorro 2.50.2, R 4.0.1 , Anaconda with python 3.8.5

I usually install these R packages: deepnet, e1071, caret and keras.

And python keras with "conda install conda-forge::keras"

I have different machines, sometimes there are missing packages or installation errors inside R and sometimes not. I normally use Keras (CPU). I have used keras GPU but couldn´t make it work much faster.

So, just to let you know that should work, but sometimes (not sure why) I had setup problems. But once it´s working, I make no changes to my machine and keep deeplearning months over months.

Hope it helps.

Best Regards

Re: Deeplearning Script [Re: wolfi] #488145
02/26/24 12:46
02/26/24 12:46
Joined: Jan 2024
Posts: 2
W
wolfi Offline OP
Guest
wolfi  Offline OP
Guest
W

Joined: Jan 2024
Posts: 2
Hello tomaslolo - thank you for your comments!
Tested several installation methods, including your advise, nothing worked at the end.
Checked with debugview the keras script running. It is possible to start multiple zorro(s) for wfo in parallel, but all exit after the neural.training silently. The next step neural.save cannot open - r is not running anymore.
I do not have any idea what to do, so i will stop my activities in this issue at the moment.
Best regards!


Moderated by  aztec, Inestical, Matt_Coles, Tobias 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1