Gamestudio Links
Zorro Links
Newest Posts
Trading Journey
by M_D. 04/26/24 20:22
Help with plotting multiple ZigZag
by M_D. 04/26/24 20:03
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
M1 Oversampling
by jcl. 04/26/24 11:12
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
Eigenwerbung
by jcl. 04/26/24 11:08
MT5 bridge not working on MT5 v. 5 build 4160
by EternallyCurious. 04/25/24 20:49
Zorro FIX plugin - Experimental
by flink. 04/21/24 07:12
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (PeroPero), 788 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
wandaluciaia, Mega_Rod, EternallyCurious, howardR, 11honza11
19049 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