Traceback (most recent call last):


 "main.py", line 83, in <module>

gr = tf.gradients(scores,image_tensor)


 "C:\Users\workshop\.conda\envs\tf\lib\site-packages\tensorflow\python\ops\gradients_impl.py", line 664, in gradients

unconnected_gradients)


 "C:\Users\workshop\.conda\envs\tf\lib\site-packages\tensorflow\python\ops\gradients_impl.py", line 851, in _GradientsHelper

to_ops, from_ops, colocate_gradients_with_ops, func_graphs, xs)


 "C:\Users\workshop\.conda\envs\tf\lib\site-packages\tensorflow\python\ops\gradients_impl.py", line 192, in _PendingCount

between_op_list, between_ops, colocate_gradients_with_ops)


 "C:\Users\workshop\.conda\envs\tf\lib\site-packages\tensorflow\python\ops\control_flow_ops.py", line 1448, in MaybeCreateControlFlowState

loop_state.AddWhileContext(op, between_op_list, between_ops)


 "C:\Users\workshop\.conda\envs\tf\lib\site-packages\tensorflow\python\ops\control_flow_ops.py", line 1251, in AddWhileContext

outer_forward_ctxt = forward_ctxt.outer_context
AttributeError: 'NoneType' object has no attribute 'outer_context

Traceback (most recent call last):


 "/usr/local/lib/node_modules/node-gyp/gyp/gyp_main.py", line 16, in <module>

sys.exit(gyp.script_main())


 "/usr/local/lib/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 554, in script_main

return main(sys.argv[1:])


 "/usr/local/lib/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 547, in main

return gyp_main(args)


 "/usr/local/lib/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 523, in gyp_main

options.duplicate_basename_check)


 "/usr/local/lib/node_modules/node-gyp/gyp/pylib/gyp/__init__.py", line 139, in Load

params['parallel'], params['root_targets'])


 "/usr/local/lib/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 2844, in Load

DoDependentSettings(settings_type, flat_list, targets, dependency_nodes)


 "/usr/local/lib/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 1931, in DoDependentSettings

build_file, dependency_build_file)


 "/usr/local/lib/node_modules/node-gyp/gyp/pylib/gyp/input.py", line 2121, in MergeDicts

for k, v in fro.items():
AttributeError: 'list' object has no attribute 'items'
