Traceback (most recent call last):


 "/home/pi3ni0/Workspace/random/siamese_cnn_glove.py", line 209, in <module>

checkpoint_callback = ModelCheckpoint(


 "/home/pi3ni0/.venv/dev/lib/python3.6/site-packages/pytorch_lightning/callbacks/model_checkpoint.py", line 89, in __init__

if save_top_k > 0 and os.path.isdir(filepath) and len(os.listdir(filepath)) > 0:


 "/home/pi3ni0/.venv/dev/lib/python3.6/genericpath.py", line 42, in isdir

st = os.stat(s)
TypeError: stat: path should be string, bytes, os.PathLike or integer, not NoneType

Traceback (most recent call last):


 "/usr/bin/streamlink", line 11, in <module>

load_entry_point('streamlink==0.0.2', 'console_scripts', 'streamlink')()


 "/usr/lib/python3.4/site-packages/streamlink_cli/main.py", line 899, in m
ain

handle_url()


 "/usr/lib/python3.4/site-packages/streamlink_cli/main.py", line 479, in h
andle_url

streams = fetch_streams(plugin)


 "/usr/lib/python3.4/site-packages/streamlink_cli/main.py", line 392, in f
etch_streams

sorting_excludes=args.stream_sorting_excludes)


 "/usr/lib/python3.4/site-packages/streamlink/plugin/plugin.py", line 316,
in get_streams

return self.streams(*args, **kwargs)


 "/usr/lib/python3.4/site-packages/streamlink/plugin/plugin.py", line 230,
in streams

ostreams = self._get_streams()


 "/usr/lib/python3.4/site-packages/streamlink/plugins/connectcast.py", lin
e 21, in _get_streams

match = _stream_re.search(res.content)
TypeError: can't use a string pattern on a bytes-like object
