示例#1
0
from jobman.tools import DD
from jobman import sql
import numpy

# import types of architectures we want to use
import RNN

if __name__ == '__main__':

    TABLE_NAME = 'rnn001'

    #db = sql.db('postgres://*****:*****@gershwin/pascanur_db/'+TABLE_NAME)
    db = sql.postgres_serial(user='******',
                             password='******',
                             host='colosse1',
                             port=5432,
                             database='pascanur_db',
                             table_prefix=TABLE_NAME)

    state = DD()

    ## DEFAULT VALUES ##
    state['configfile'] = '/home/rpascanu/workspace/RNN_theano/rnn001/RNN.ini'
    state['jobman.experiment'] = 'RNN.jobman'
    n_jobs = 0

    for n_jobs in xrange(512):
        n = numpy.random.rand()
        #if n > 0.5:
        state['opt_alg'] = 'sgd_qn'
        _lambda = -(numpy.random.randint(3) + 4)
示例#2
0
from jobman import sql
import numpy
import configs

# import types of architectures we want to use
import RNN_stream


if __name__=='__main__':

    TABLE_NAME='rnnstream002'

    #db = sql.db('postgres://*****:*****@gershwin/pascanur_db/'+TABLE_NAME)
    db = sql.postgres_serial( user = '******',
            password='******',
            host=configs.get_server(),
            port = 5432,
            database='pascanur_db',
            table_prefix = TABLE_NAME)

    state = DD()

    ## DEFAULT VALUES ##
    state['configfile'] ='RNN_theano/rnn_stream001/RNN_stream.ini'
    state['jobman.experiment'] = 'RNN_stream.jobman'

    # Starting job id
    start_job = 0
    num_jobs  = 60
    state['path'] = TABLE_NAME+'/'
    for n_jobs in xrange(start_job, start_job+num_jobs):
        n = numpy.random.rand()
示例#3
0
from jobman.tools import DD
from jobman import sql
import numpy

# import types of architectures we want to use
import RNN


if __name__=='__main__':

    TABLE_NAME='rnn001'

    #db = sql.db('postgres://*****:*****@gershwin/pascanur_db/'+TABLE_NAME)
    db = sql.postgres_serial( user = '******',
            password='******',
            host='colosse1',
            port = 5432,
            database='pascanur_db',
            table_prefix = TABLE_NAME)

    state = DD()

    ## DEFAULT VALUES ##
    state['configfile'] = '/home/rpascanu/workspace/RNN_theano/rnn001/RNN.ini'
    state['jobman.experiment'] = 'RNN.jobman'
    n_jobs = 0

    for n_jobs in xrange(512):
        n = numpy.random.rand()
        #if n > 0.5:
        state['opt_alg'] = 'sgd_qn'
        _lambda = -(numpy.random.randint(3)+4)
示例#4
0
from jobman.tools import DD
from jobman import sql
import numpy
import configs

# import types of architectures we want to use
import RNN_stream

if __name__ == '__main__':

    TABLE_NAME = 'rnnstream002'

    #db = sql.db('postgres://*****:*****@gershwin/pascanur_db/'+TABLE_NAME)
    db = sql.postgres_serial(user='******',
                             password='******',
                             host=configs.get_server(),
                             port=5432,
                             database='pascanur_db',
                             table_prefix=TABLE_NAME)

    state = DD()

    ## DEFAULT VALUES ##
    state['configfile'] = 'RNN_theano/rnn_stream001/RNN_stream.ini'
    state['jobman.experiment'] = 'RNN_stream.jobman'

    # Starting job id
    start_job = 0
    num_jobs = 60
    state['path'] = TABLE_NAME + '/'
    for n_jobs in xrange(start_job, start_job + num_jobs):
        n = numpy.random.rand()