Coder Social home page Coder Social logo

theano-rnn's People

Contributors

gwtaylor avatar muhrifqii 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  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  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  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  avatar  avatar  avatar

theano-rnn's Issues

Value error in "fn" function

when i execute the program i get the following error i tried converting "fn" to float32 but the results are the same this is the error :
Traceback (most recent call last):
File "basic_rnn_example.py", line 40, in
non_sequences=[W, W_in, W_out]))
File "C:\Anaconda2\lib\site-packages\theano-0.7.0-py2.7.egg\theano\scan_module\scan.py", line 1042, in scan
scan_outs = local_op(_scan_inputs)
File "C:\Anaconda2\lib\site-packages\theano-0.7.0-py2.7.egg\theano\gof\op.py", line 507, in call
node = self.make_node(_inputs, **kwargs)
File "C:\Anaconda2\lib\site-packages\theano-0.7.0-py2.7.egg\theano\scan_module\scan_op.py", line 374, in make_node
inner_sitsot_out.type.dtype))
ValueError: When compiling the inner function of scan the following error has been encountered: The initial state (outputs_info in scan nomenclature) of variable IncSubtensor{Set;:int64:}.0 (argument number 1) has dtype float32, while the result of the inner function (fn) has dtype float64. This can happen if the inner function of scan results in an upcast or downcast.

get_params method in wrong name

Hi, I found the get_params method in getstatus is written as get_params, where a needless "" is written. The getstatus is in MetaRNN class. PLZ consider revising.

error occur, when n_hidden=1

Hi, I found a exception below, when n_hidden=1 in rnn_minibatch.py . pls kindly let me know if you know how to solve it. thanks!

TypeError: Cannot convert Type TensorType(float64, 3D) (of Variable Subtensor{::int64}.0) into Type TensorType(float64, (False, False, True)). You can try to manually convert Subtensor{::int64}.0 into a TensorType(float64, (False, False, True)).

error on hf_example.py and basic_rnn_example.py

ubgpu@ubgpu:/github/theano-rnn$ sudo python basic_rnn_example.py
[sudo] password for ubgpu:
Sorry, try again.
[sudo] password for ubgpu:
Sorry, try again.
[sudo] password for ubgpu:
Using gpu device 0: GeForce GTX 970
Traceback (most recent call last):
File "basic_rnn_example.py", line 40, in
non_sequences=[W, W_in, W_out])
File "/usr/local/lib/python2.7/dist-packages/theano/scan_module/scan.py", line 1042, in scan
scan_outs = local_op(_scan_inputs)
File "/usr/local/lib/python2.7/dist-packages/theano/gof/op.py", line 507, in call
node = self.make_node(_inputs, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/theano/scan_module/scan_op.py", line 374, in make_node
inner_sitsot_out.type.dtype))
ValueError: When compiling the inner function of scan the following error has been encountered: The initial state (outputs_info in scan nomenclature) of variable IncSubtensor{Set;:int64:}.0 (argument number 1) has dtype float32, while the result of the inner function (fn) has dtype float64. This can happen if the inner function of scan results in an upcast or downcast.
ubgpu@ubgpu:
/github/theano-rnn$ sudo python basic_rnn_example.py

Using gpu device 0: GeForce GTX 970
Traceback (most recent call last):
File "basic_rnn_example.py", line 40, in
non_sequences=[W, W_in, W_out])
File "/usr/local/lib/python2.7/dist-packages/theano/scan_module/scan.py", line 1042, in scan
scan_outs = local_op(_scan_inputs)
File "/usr/local/lib/python2.7/dist-packages/theano/gof/op.py", line 507, in call
node = self.make_node(_inputs, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/theano/scan_module/scan_op.py", line 374, in make_node
inner_sitsot_out.type.dtype))
ValueError: When compiling the inner function of scan the following error has been encountered: The initial state (outputs_info in scan nomenclature) of variable IncSubtensor{Set;:int64:}.0 (argument number 1) has dtype float32, while the result of the inner function (fn) has dtype float64. This can happen if the inner function of scan results in an upcast or downcast.
ubgpu@ubgpu:/github/theano-rnn$
ubgpu@ubgpu:
/github/theano-rnn$
ubgpu@ubgpu:/github/theano-rnn$
ubgpu@ubgpu:
/github/theano-rnn$ ll
total 108
drwxrwxr-x 3 ubgpu ubgpu 4096 6月 7 00:40 ./
drwxrwxr-x 255 ubgpu ubgpu 12288 7月 3 20:23 ../
-rw-rw-r-- 1 ubgpu ubgpu 1685 6月 7 00:40 basic_rnn_example.py
drwxrwxr-x 8 ubgpu ubgpu 4096 6月 7 00:40 .git/
-rw-rw-r-- 1 ubgpu ubgpu 232 6月 7 00:40 .gitignore
-rw-rw-r-- 1 ubgpu ubgpu 7374 6月 7 00:40 hf_example.py
-rw-rw-r-- 1 ubgpu ubgpu 1499 6月 7 00:40 License.md
-rw-rw-r-- 1 ubgpu ubgpu 1963 6月 7 00:40 README.md
-rw-rw-r-- 1 ubgpu ubgpu 39709 6月 7 00:40 rnn_minibatch.py
-rw-rw-r-- 1 ubgpu ubgpu 23215 6月 7 00:40 rnn.py
ubgpu@ubgpu:/github/theano-rnn$ sudo python hf_example.py
Using gpu device 0: GeForce GTX 970
Traceback (most recent call last):
File "hf_example.py", line 12, in
from hf import SequenceDataset, hf_optimizer
ImportError: No module named hf
ubgpu@ubgpu:
/github/theano-rnn$

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.