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
I have a problem:
[21/06/2022 04:38:59] model options: {'n_episodes': 5, 'input_dim': 1024, 'hidden_dim': 256, 'W_init': 'normal', 'U_init': 'normal', 'weight_decay': 1e-05, 'regularizer': 'L2', 'optimizer': 'adam', 'base_lr': 1e-05, 'decay_rate': 0.1, 'max_epochs': 60, 'decay_stepsize': -1, 'ignore_distant_sim': False, 'distant_sim_thre': 20, 'alpha': 0.01, 'model_file': None, 'disp_freq': 1, 'train_dataset_path': 'datasets/eccv16_dataset_tvsum_google_pool5.h5'}
[21/06/2022 04:38:59] initializing net model
Traceback (most recent call last):
File "vsum_train.py", line 158, in
train_dataset_path=args.dataset)
File "vsum_train.py", line 56, in train
net = reinforceRNN(model_options)
File "/content/drive/MyDrive/Colab Notebooks/VideoSum/vsumm-reinforce/model_reinforceRNN.py", line 40, in init
init_state=None, init_memory=None, go_backwards=False
File "/content/drive/MyDrive/Colab Notebooks/VideoSum/vsumm-reinforce/theano_nets.py", line 342, in init
self.output = self.step(self.state_below)
File "/content/drive/MyDrive/Colab Notebooks/VideoSum/vsumm-reinforce/theano_nets.py", line 396, in step
go_backwards=self.go_backwards
File "/usr/local/lib/python3.7/dist-packages/theano/scan_module/scan.py", line 849, in scan
profile=False)
File "/usr/local/lib/python3.7/dist-packages/theano/compile/function/init.py", line 350, in function
output_keys=output_keys,
File "/usr/local/lib/python3.7/dist-packages/theano/compile/function/pfunc.py", line 427, in pfunc
_pfunc_param_to_in(p, allow_downcast=allow_input_downcast) for p in params
File "/usr/local/lib/python3.7/dist-packages/theano/compile/function/pfunc.py", line 427, in
_pfunc_param_to_in(p, allow_downcast=allow_input_downcast) for p in params
File "/usr/local/lib/python3.7/dist-packages/theano/compile/function/pfunc.py", line 543, in _pfunc_param_to_in
raise TypeError(f"Unknown parameter type: {type(param)}")
TypeError: Unknown parameter type: <class 'theano.tensor.var.TensorVariable'>
How can i fix it?
Thank you
The text was updated successfully, but these errors were encountered:
I have a problem:
[21/06/2022 04:38:59] model options: {'n_episodes': 5, 'input_dim': 1024, 'hidden_dim': 256, 'W_init': 'normal', 'U_init': 'normal', 'weight_decay': 1e-05, 'regularizer': 'L2', 'optimizer': 'adam', 'base_lr': 1e-05, 'decay_rate': 0.1, 'max_epochs': 60, 'decay_stepsize': -1, 'ignore_distant_sim': False, 'distant_sim_thre': 20, 'alpha': 0.01, 'model_file': None, 'disp_freq': 1, 'train_dataset_path': 'datasets/eccv16_dataset_tvsum_google_pool5.h5'}
[21/06/2022 04:38:59] initializing net model
Traceback (most recent call last):
File "vsum_train.py", line 158, in
train_dataset_path=args.dataset)
File "vsum_train.py", line 56, in train
net = reinforceRNN(model_options)
File "/content/drive/MyDrive/Colab Notebooks/VideoSum/vsumm-reinforce/model_reinforceRNN.py", line 40, in init
init_state=None, init_memory=None, go_backwards=False
File "/content/drive/MyDrive/Colab Notebooks/VideoSum/vsumm-reinforce/theano_nets.py", line 342, in init
self.output = self.step(self.state_below)
File "/content/drive/MyDrive/Colab Notebooks/VideoSum/vsumm-reinforce/theano_nets.py", line 396, in step
go_backwards=self.go_backwards
File "/usr/local/lib/python3.7/dist-packages/theano/scan_module/scan.py", line 849, in scan
profile=False)
File "/usr/local/lib/python3.7/dist-packages/theano/compile/function/init.py", line 350, in function
output_keys=output_keys,
File "/usr/local/lib/python3.7/dist-packages/theano/compile/function/pfunc.py", line 427, in pfunc
_pfunc_param_to_in(p, allow_downcast=allow_input_downcast) for p in params
File "/usr/local/lib/python3.7/dist-packages/theano/compile/function/pfunc.py", line 427, in
_pfunc_param_to_in(p, allow_downcast=allow_input_downcast) for p in params
File "/usr/local/lib/python3.7/dist-packages/theano/compile/function/pfunc.py", line 543, in _pfunc_param_to_in
raise TypeError(f"Unknown parameter type: {type(param)}")
TypeError: Unknown parameter type: <class 'theano.tensor.var.TensorVariable'>
How can i fix it?
Thank you
The text was updated successfully, but these errors were encountered: