Coder Social home page Coder Social logo

pvlachas / rnn-lyapunov-spectrum Goto Github PK

View Code? Open in Web Editor NEW
37.0 37.0 11.0 9.02 MB

A data-driven method to calculate the Lyapunov exponent of a dynamical system employing a GRU-RNN.

Shell 1.18% Python 98.06% Roff 0.76%
lyapunov-exponents lyapunov-spectrum rnn-gru rnn-pytorch

rnn-lyapunov-spectrum's People

Contributors

koechelikipz avatar pvlachas avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

rnn-lyapunov-spectrum's Issues

pickles data files

Wondering if could you upload the trained data files.
I specifically encounter missing pickle files running ``bash 0_TRAIN_RNN.sh''

`

CONFIG: RUNNING IN LOCAL REPOSITORY.

PROJECT PATH=/**************************/RNN-Lyapunov-Spectrum
PLOTTING HOSTNAME: **************-laptop
CLUSTER=False, CLUSTER_NAME=local
-V- Matplotlib Version = 3.1.2
rnn
-V- Python Version = 3.8.2 (default, Jul 16 2020, 14:00:26)
[GCC 9.3.0]
-V- Torch Version = 1.6.0
Reference train time 23:30:00

Model name:

ARNN-N_used_20000-N_100000-scaler_Standard-NL_1-LR_0.001-L2_0.0-C_gru-RNN_1x40-SL_30
[ModuleList(
(0): GRUCell(3, 40)
), ModuleList(
(0): Linear(in_features=40, out_features=3, bias=True)
)]

Trainable params 5523/5523

INITIALIZING PARAMETERS...

weight_ih
weight_hh
bias_ih
bias_hh
weight
bias
PARAMETERS INITIALISED!
CUDA Device available? False
Number of devices: 0
Using device: cpu
Loading Data...
Datafile
/**************************/RNN-Lyapunov-Spectrum/Data/Lorenz3D/Data/training_data_N100000.pickle
NOT FOUND.
Traceback (most recent call last):
File "./Models/Utils/data_utils.py", line 45, in loadDataPickle
with open(data_path, "rb") as file:
FileNotFoundError: [Errno 2] No such file or directory: '/*************/RNN-Lyapunov-Spectrum/Data/Lorenz3D/Data/training_data_N100000.pickle'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "RUN.py", line 102, in
main()
File "RUN.py", line 99, in main
runModel(args_dict)
File "RUN.py", line 27, in runModel
trainModel(params_dict)
File "RUN.py", line 54, in trainModel
model.train()
File "./Models/rnn/rnn.py", line 502, in train
input_sequence = self.getTrainingData()
File "./Models/rnn/rnn.py", line 470, in getTrainingData
data = loadData(self.train_data_path, "pickle")
File "./Models/Utils/data_utils.py", line 28, in loadData
return loadDataPickle(data_path)
File "./Models/Utils/data_utils.py", line 49, in loadDataPickle
raise ValueError(inst)
ValueError: [Errno 2] No such file or directory: '*********************/RNN-Lyapunov-Spectrum/Data/Lorenz3D/Data/training_data_N100000.pickle'

`

Data Files

Could you upload the trained data files ?

I specifically encounter missing pickle files running ``bash 0_TRAIN_RNN.sh''

`

CONFIG: RUNNING IN LOCAL REPOSITORY.

PROJECT PATH=/**************************/RNN-Lyapunov-Spectrum
PLOTTING HOSTNAME: **************-laptop
CLUSTER=False, CLUSTER_NAME=local
-V- Matplotlib Version = 3.1.2
rnn
-V- Python Version = 3.8.2 (default, Jul 16 2020, 14:00:26)
[GCC 9.3.0]
-V- Torch Version = 1.6.0
Reference train time 23:30:00

Model name:

ARNN-N_used_20000-N_100000-scaler_Standard-NL_1-LR_0.001-L2_0.0-C_gru-RNN_1x40-SL_30
[ModuleList(
(0): GRUCell(3, 40)
), ModuleList(
(0): Linear(in_features=40, out_features=3, bias=True)
)]

Trainable params 5523/5523

INITIALIZING PARAMETERS...

weight_ih
weight_hh
bias_ih
bias_hh
weight
bias
PARAMETERS INITIALISED!
CUDA Device available? False
Number of devices: 0
Using device: cpu
Loading Data...
Datafile
/**************************/RNN-Lyapunov-Spectrum/Data/Lorenz3D/Data/training_data_N100000.pickle
NOT FOUND.
Traceback (most recent call last):
File "./Models/Utils/data_utils.py", line 45, in loadDataPickle
with open(data_path, "rb") as file:
FileNotFoundError: [Errno 2] No such file or directory: '/*************/RNN-Lyapunov-Spectrum/Data/Lorenz3D/Data/training_data_N100000.pickle'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "RUN.py", line 102, in
main()
File "RUN.py", line 99, in main
runModel(args_dict)
File "RUN.py", line 27, in runModel
trainModel(params_dict)
File "RUN.py", line 54, in trainModel
model.train()
File "./Models/rnn/rnn.py", line 502, in train
input_sequence = self.getTrainingData()
File "./Models/rnn/rnn.py", line 470, in getTrainingData
data = loadData(self.train_data_path, "pickle")
File "./Models/Utils/data_utils.py", line 28, in loadData
return loadDataPickle(data_path)
File "./Models/Utils/data_utils.py", line 49, in loadDataPickle
raise ValueError(inst)
ValueError: [Errno 2] No such file or directory: '*********************/RNN-Lyapunov-Spectrum/Data/Lorenz3D/Data/training_data_N100000.pickle'

`

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.