Traceback (most recent call last):


 "c:\users\1\appdata\local\continuum\anaconda3\lib\runpy.py", line 193, in _run_module_as_main

"__main__", mod_spec)


 "c:\users\1\appdata\local\continuum\anaconda3\lib\runpy.py", line 85, in _run_code

exec(code, run_globals)


 "C:\Users\1\AppData\Local\Continuum\Anaconda3\Scripts\coursera-dl.exe\__main__.py", line 9, in <module>


 "c:\users\1\appdata\local\continuum\anaconda3\lib\site-packages\coursera\coursera_dl.py", line 235, in main

error_occured, completed = download_class(args, class_name)


 "c:\users\1\appdata\local\continuum\anaconda3\lib\site-packages\coursera\coursera_dl.py", line 210, in download_class

return download_on_demand_class(args, class_name)


 "c:\users\1\appdata\local\continuum\anaconda3\lib\site-packages\coursera\coursera_dl.py", line 125, in download_on_demand_class

extractor = CourseraExtractor(session, args.username, args.password)


 "c:\users\1\appdata\local\continuum\anaconda3\lib\site-packages\coursera\extractors.py", line 31, in __init__

login(session, username, password)


 "c:\users\1\appdata\local\continuum\anaconda3\lib\site-packages\coursera\cookies.py", line 145, in login

headers=headers, allow_redirects=False)


 "c:\users\1\appdata\local\continuum\anaconda3\lib\site-packages\requests\sessions.py", line 570, in post

return self.request('POST', url, data=data, json=json, **kwargs)


 "c:\users\1\appdata\local\continuum\anaconda3\lib\site-packages\requests\sessions.py", line 523, in request

resp = self.send(prep, **send_kwargs)


 "c:\users\1\appdata\local\continuum\anaconda3\lib\site-packages\requests\sessions.py", line 643, in send

r = adapter.send(request, **kwargs)


 "c:\users\1\appdata\local\continuum\anaconda3\lib\site-packages\requests\adapters.py", line 440, in send

timeout=timeout


 "c:\users\1\appdata\local\continuum\anaconda3\lib\site-packages\urllib3\connectionpool.py", line 587, in urlopen

timeout_obj = self._get_timeout(timeout)


 "c:\users\1\appdata\local\continuum\anaconda3\lib\site-packages\urllib3\connectionpool.py", line 302, in _get_timeout

return Timeout.from_float(timeout)


 "c:\users\1\appdata\local\continuum\anaconda3\lib\site-packages\urllib3\util\timeout.py", line 154, in from_float

return Timeout(read=timeout, connect=timeout)


 "c:\users\1\appdata\local\continuum\anaconda3\lib\site-packages\urllib3\util\timeout.py", line 94, in __init__

self._connect = self._validate_timeout(connect, 'connect')


 "c:\users\1\appdata\local\continuum\anaconda3\lib\site-packages\urllib3\util\timeout.py", line 127, in _validate_timeout

"int, float or None." % (name, value))
ValueError: Timeout value connect was Timeout(connect=None, read=None, total=None), but it must be an int, float or None.

Traceback (most recent call last):


 "xception.py", line 227, in <module>

model = Xception(include_top=True, weights='imagenet')


 "xception.py", line 212, in Xception

model.load_weights(weights_path, by_name=True)


 "/home/anish/env/local/lib/python2.7/site-packages/Keras-1.1.1-py2.7.egg/keras/engine/topology.py", line 2498, in load_weights

self.load_weights_from_hdf5_group_by_name(f)


 "/home/anish/env/local/lib/python2.7/site-packages/Keras-1.1.1-py2.7.egg/keras/engine/topology.py", line 2633, in load_weights_from_hdf5_group_by_name

K.batch_set_value(weight_value_tuples)


 "/home/anish/env/local/lib/python2.7/site-packages/Keras-1.1.1-py2.7.egg/keras/backend/tensorflow_backend.py", line 990, in batch_set_value

assign_op = x.assign(assign_placeholder)


 "/home/anish/env/local/lib/python2.7/site-packages/tensorflow/python/ops/variables.py", line 555, in assign

return state_ops.assign(self._variable, value, use_locking=use_locking)


 "/home/anish/env/local/lib/python2.7/site-packages/tensorflow/python/ops/gen_state_ops.py", line 47, in assign

use_locking=use_locking, name=name)


 "/home/anish/env/local/lib/python2.7/site-packages/tensorflow/python/framework/op_def_library.py", line 759, in apply_op

op_def=op_def)


 "/home/anish/env/local/lib/python2.7/site-packages/tensorflow/python/framework/ops.py", line 2261, in create_op

set_shapes_for_outputs(ret)


 "/home/anish/env/local/lib/python2.7/site-packages/tensorflow/python/framework/ops.py", line 1636, in set_shapes_for_outputs

shapes = shape_func(op)


 "/home/anish/env/local/lib/python2.7/site-packages/tensorflow/python/framework/ops.py", line 1570, in call_with_requiring

return call_cpp_shape_fn(op, require_shape_fn=True)


 "/home/anish/env/local/lib/python2.7/site-packages/tensorflow/python/framework/common_shapes.py", line 643, in call_cpp_shape_fn

raise ValueError(err.message)
ValueError: Dimension 0 in both shapes must be equal, but are 1 and 3 for 'Assign' (op: 'Assign') with input shapes: [1,1,64,128], [3,3,3,32].
