Traceback (most recent call last):


 "src/validate_on_lfw.py", line 113, in <module>

main(parse_arguments(sys.argv[1:]))


 "src/validate_on_lfw.py", line 83, in main

actual_issame, nrof_folds=args.lfw_nrof_folds)


 "/Users/andycooper/facenet/src/lfw.py", line 40, in evaluate

np.asarray(actual_issame), nrof_folds=nrof_folds)


 "/Users/andycooper/facenet/src/facenet.py", line 426, in calculate_roc

for fold_idx, (train_set, test_set) in enumerate(k_fold.split(indices)):


 "/anaconda3/lib/python3.6/site-packages/sklearn/model_selection/_split.py", line 330, in split

n_samples))
ValueError: Cannot have number of splits n_splits=10 greater than the number of samples: 0.

2019-05-14 14:10:15 ERROR (MainThread) [homeassistant.components.automation] Error while executing automation automation.aq_licht_an. Unknown error for call_service at pos 1:Traceback (most recent call last):


 "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/automation/__init__.py", line 378, in action
await script_obj.async_run(variables, context)


 "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/script.py", line 131, in async_run
await self._handle_action(action, variables, context)


 "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/script.py", line 210, in _handle_action
action, variables, context)


 "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/script.py", line 299, in _async_call_service
context=context


 "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/service.py", line 89, in async_call_from_config
domain, service_name, service_data, blocking=blocking, context=context)


 "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/core.py", line 1141, in async_call
self._execute_service(handler, service_call))


 "/usr/lib/python3.5/asyncio/futures.py", line 380, in __iter__
yield self
# This tells Task to wait for completion.


 "/usr/lib/python3.5/asyncio/tasks.py", line 304, in _wakeup
future.result()


 "/usr/lib/python3.5/asyncio/futures.py", line 293, in result

raise self._exception


 "/usr/lib/python3.5/asyncio/tasks.py", line 239, in _step

result = coro.send(None)


 "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/core.py", line 1163, in _execute_service
await handler.func(service_call)


 "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/script/__init__.py", line 85, in turn_off_service
], loop=hass.loop)


 "/usr/lib/python3.5/asyncio/tasks.py", line 346, in wait
raise ValueError('Set of coroutines/Futures is empty.')
ValueError: Set of coroutines/Futures is empty.
