SullyChen / Autopilot-TensorFlow

A TensorFlow implementation of this Nvidia paper: https://arxiv.org/pdf/1604.07316.pdf with some changes
MIT License
1.26k stars 426 forks source link

TypeError: Variables to save should be passed in a dict or a list: ./logs #29

Closed anishanne closed 6 years ago

anishanne commented 6 years ago

Traceback (most recent call last): File "\Autopilot-TensorFlow-master\train.py", line 29, in summary_writer = tf.train.Saver(logs_path, graph) File "\python 6\lib\site-packages\tensorflow\python\training\saver.py", line 1281, in init self.build() File "\python 6\lib\site-packages\tensorflow\python\training\saver.py", line 1293, in build self._build(self._filename, build_save=True, build_restore=True) File "\python 6\lib\site-packages\tensorflow\python\training\saver.py", line 1330, in _build build_save=build_save, build_restore=build_restore) File "\python 6\lib\site-packages\tensorflow\python\training\saver.py", line 756, in _build_internal saveables = self._ValidateAndSliceInputs(names_to_saveables) File "\python 6\lib\site-packages\tensorflow\python\training\saver.py", line 656, in _ValidateAndSliceInputs names_to_saveables = BaseSaverBuilder.OpListToDict(names_to_saveables) File "\python 6\lib\site-packages\tensorflow\python\training\saver.py", line 504, in OpListToDict "list: %s" % op_list)

anishanne commented 6 years ago

Used the not yet approved pull request code so it would work.