Traceback (most recent call last):


 "/usr/local/lib/python3.9/site-packages/jupyter_book/sphinx.py", line 150, in build_sphinx

app.build(force_all, filenames)


 "/usr/local/lib/python3.9/site-packages/sphinx/application.py", line 352, in build

self.builder.build_update()


 "/usr/local/lib/python3.9/site-packages/sphinx/builders/__init__.py", line 294, in build_update

self.build(['__all__'], to_build)


 "/usr/local/lib/python3.9/site-packages/sphinx/builders/__init__.py", line 361, in build

self.write(docnames, list(updated_docnames), method)


 "/usr/local/lib/python3.9/site-packages/sphinx/builders/latex/__init__.py", line 286, in write

doctree = self.assemble_doctree(


 "/usr/local/lib/python3.9/site-packages/sphinx/builders/latex/__init__.py", line 350, in assemble_doctree

self.env.resolve_references(largetree, indexfile, self)


 "/usr/local/lib/python3.9/site-packages/sphinx/environment/__init__.py", line 573, in resolve_references

self.apply_post_transforms(doctree, fromdocname)


 "/usr/local/lib/python3.9/site-packages/sphinx/environment/__init__.py", line 585, in apply_post_transforms

transformer.apply_transforms()


 "/usr/local/lib/python3.9/site-packages/sphinx/transforms/__init__.py", line 87, in apply_transforms

super().apply_transforms()


 "/usr/local/lib/python3.9/site-packages/docutils/transforms/__init__.py", line 171, in apply_transforms

transform.apply(**kwargs)


 "/usr/local/lib/python3.9/site-packages/jupyterbook_latex/transforms.py", line 183, in apply

flag = checkNodeIsInPart(f, node)


 "/usr/local/lib/python3.9/site-packages/jupyterbook_latex/transforms.py", line 152, in checkNodeIsInPart

if nodefile in chapname:
TypeError: 'in <string>' requires string as left operand, not NoneType

Traceback (most recent call last):


 "AdamW_SGDW_Test.py", line 22, in <module>

model.fit(np.random.random((5, 3)), np.random.random((5, num_classes)), epochs=5, batch_size=5)


 "/home/deepromay/anaconda2/envs/tensorflow110/lib/python2.7/site-packages/keras/engine/training.py", line 1008, in fit

self._make_train_function()


 "/home/deepromay/anaconda2/envs/tensorflow110/lib/python2.7/site-packages/keras/engine/training.py", line 498, in _make_train_function

loss=self.total_loss)


 "/home/deepromay/anaconda2/envs/tensorflow110/lib/python2.7/site-packages/keras/legacy/interfaces.py", line 91, in wrapper

return func(*args, **kwargs)


 "/home/deepromay/anaconda2/envs/tensorflow110/lib/python2.7/site-packages/keras/optimizers.py", line 701, in get_updates

grads, global_step=self.iterations)


 "/home/deepromay/anaconda2/envs/tensorflow110/lib/python2.7/site-packages/tensorflow/contrib/opt/python/training/weight_decay_optimizers.py", line 144, in apply_gradients

grads_and_vars, global_step=global_step, name=name)


 "/home/deepromay/anaconda2/envs/tensorflow110/lib/python2.7/site-packages/tensorflow/python/training/optimizer.py", line 591, in apply_gradients

self._prepare()


 "/home/deepromay/anaconda2/envs/tensorflow110/lib/python2.7/site-packages/tensorflow/contrib/opt/python/training/weight_decay_optimizers.py", line 151, in _prepare

weight_decay, name="weight_decay")


 "/home/deepromay/anaconda2/envs/tensorflow110/lib/python2.7/site-packages/tensorflow/python/framework/ops.py", line 998, in convert_to_tensor

as_ref=False)


 "/home/deepromay/anaconda2/envs/tensorflow110/lib/python2.7/site-packages/tensorflow/python/framework/ops.py", line 1094, in internal_convert_to_tensor

ret = conversion_func(value, dtype=dtype, name=name, as_ref=as_ref)


 "/home/deepromay/anaconda2/envs/tensorflow110/lib/python2.7/site-packages/tensorflow/python/framework/constant_op.py", line 217, in _constant_tensor_conversion_function

return constant(v, dtype=dtype, name=name)


 "/home/deepromay/anaconda2/envs/tensorflow110/lib/python2.7/site-packages/tensorflow/python/framework/constant_op.py", line 196, in constant

value, dtype=dtype, shape=shape, verify_shape=verify_shape))


 "/home/deepromay/anaconda2/envs/tensorflow110/lib/python2.7/site-packages/tensorflow/python/framework/tensor_util.py", line 525, in make_tensor_proto

"supported type." % (type(values), values))
TypeError: Failed to convert object of type <type 'dict'> to Tensor. Contents: {'use_nesterov': True, 'learning_rate': 0.001, 'weight_decay': 0.1, 'momentum': 0.9}. Consider casting elements to a supported type.
