Skip to content

sina-mz/pyTorchRNN

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pyTorchRNN

Yet another demo for begining to work with RNNs....

A simple implentation of a Linear Layer in pyTorch is available in simpleMLP.py.

In the other file, a sine waye is generated and a RNN model is trained to detect the zero crossing zones. Although detecting zero cross can be easily and effieciently handled with hard computing techniques, it should be noted that more complex patterns can't be detected easily. Also, this Repo aims to demostrate the implementation of RNNs in PyTorch.

Train signal and the output are show below:

Figure

Train sine wave is generated at 1.8 Hz and is sampled at rate of 588 samples/second.

The same model creates output on a test signal as below:

Fig2

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages