Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

multi_modal_network return values not compatible with policy_opt_tf #92

Open
fhoekstra opened this issue Sep 29, 2017 · 1 comment
Open

Comments

@fhoekstra
Copy link

fhoekstra commented Sep 29, 2017

In policy_opt_tf, around line 70:

tf_map_generator = self._hyperparams['network_model']
tf_map, fc_vars, last_conv_vars = tf_map_generator(dim_input=self._dO, dim_output=self._dU,
    batch_size=self.batch_size, network_config=self._hyperparams['network_params'])

return values are expected in the form as multi_modal_network_fp gives them: (tf_model_example.py, line 268)

return nnet, fc_vars, last_conv_vars

However, the multi_modal_network in that same file uses a different expression: (line 166)
return TfMap.init_from_lists([nn_input, action, precision], [fc_output], [loss])

which makes policy_opt_tf raise the following error:

*** TypeError: iteration over non-sequence

Running Tensorflow 0.8.0 on Ubuntu 16.04

@kapsl
Copy link

kapsl commented Oct 6, 2017

I think I could get rid of this error by using Tensorflow 0.5 - 0.7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants