You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run 'python ptb_word_lm.py --data_path=ptb_data/',error is as follows.How can I solve the problem?
('batch_size', 20)
('dim_F', 20)
('dim_Obs', 20)
('dim_P', 20)
('hidden_size', 20)
('init_scale', 0.0)
('keep_prob', 1.0)
('kernel_width_F', 0.2)
('kernel_width_Obs', 2)
('kernel_width_P', 0.2)
('learning_rate', 1)
('lr_decay', 1.0)
('max_epoch', 10)
('max_grad_norm', 0.25)
('nRFF_F', 2000)
('nRFF_Obs', 2000)
('nRFF_P', 2000)
('num_layers', 1)
('num_steps', 20)
('obs_window', 5)
('reg_rate', 0.001)
('seed', 0)
('vocab_size', 49)
featurizing
project into rff space
Traceback (most recent call last):
File "ptb_word_lm.py", line 352, in
tf.app.run()
File "/home/ni/.conda/envs/py3/lib/python3.6/site-packages/tensorflow/python/platform/app.py", line 126, in run
_sys.exit(main(argv))
File "ptb_word_lm.py", line 288, in main
config.obs_window)
File "/home/ni/psrnn/two_stage_regression.py", line 119, in two_stage_regression
Obs_rff = Obs_Proj.project(Obs_rff)
File "/home/ni/psrnn/two_stage_regression.py", line 28, in project
return np.cos((x.T.dot(self.W) + self.b).T)*np.sqrt(2.)/np.sqrt(self.nRFF)
MemoryError
The text was updated successfully, but these errors were encountered:
When I run 'python ptb_word_lm.py --data_path=ptb_data/',error is as follows.How can I solve the problem?
('batch_size', 20)
('dim_F', 20)
('dim_Obs', 20)
('dim_P', 20)
('hidden_size', 20)
('init_scale', 0.0)
('keep_prob', 1.0)
('kernel_width_F', 0.2)
('kernel_width_Obs', 2)
('kernel_width_P', 0.2)
('learning_rate', 1)
('lr_decay', 1.0)
('max_epoch', 10)
('max_grad_norm', 0.25)
('nRFF_F', 2000)
('nRFF_Obs', 2000)
('nRFF_P', 2000)
('num_layers', 1)
('num_steps', 20)
('obs_window', 5)
('reg_rate', 0.001)
('seed', 0)
('vocab_size', 49)
featurizing
project into rff space
Traceback (most recent call last):
File "ptb_word_lm.py", line 352, in
tf.app.run()
File "/home/ni/.conda/envs/py3/lib/python3.6/site-packages/tensorflow/python/platform/app.py", line 126, in run
_sys.exit(main(argv))
File "ptb_word_lm.py", line 288, in main
config.obs_window)
File "/home/ni/psrnn/two_stage_regression.py", line 119, in two_stage_regression
Obs_rff = Obs_Proj.project(Obs_rff)
File "/home/ni/psrnn/two_stage_regression.py", line 28, in project
return np.cos((x.T.dot(self.W) + self.b).T)*np.sqrt(2.)/np.sqrt(self.nRFF)
MemoryError
The text was updated successfully, but these errors were encountered: