Traceback (most recent call last):


 "/usr/local/pycharm-community-2017.3.4/helpers/pydev/_pydevd_bundle/pydevd_exec2.py", line 3, in Exec

exec(exp, global_vars, local_vars)


 "<string>", line 1, in <module>


 "/home/rondeau/python/github/xarray/xarray/core/common.py", line 1268, in where

return ops.where_method(self, cond, other)


 "/home/rondeau/python/github/xarray/xarray/core/ops.py", line 193, in where_method

return apply_ufunc(


 "/home/rondeau/python/github/xarray/xarray/core/computation.py", line 1126, in apply_ufunc

return apply_dataarray_vfunc(


 "/home/rondeau/python/github/xarray/xarray/core/computation.py", line 268, in apply_dataarray_vfunc

result_coords = build_output_coords(args, signature, exclude_dims)


 "/home/rondeau/python/github/xarray/xarray/core/computation.py", line 232, in build_output_coords

merged_vars, unused_indexes = merge_coordinates_without_align(


 "/home/rondeau/python/github/xarray/xarray/core/merge.py", line 329, in merge_coordinates_without_align

return merge_collected(filtered, prioritized)


 "/home/rondeau/python/github/xarray/xarray/core/merge.py", line 229, in merge_collected

merged_vars[name] = unique_variable(name, variables, compat)


 "/home/rondeau/python/github/xarray/xarray/core/merge.py", line 120, in unique_variable

out = out.set_dims(dim_lengths)


 "/home/rondeau/python/github/xarray/xarray/core/variable.py", line 1442, in set_dims

expanded_data = self.data


 "/home/rondeau/python/github/xarray/xarray/core/variable.py", line 361, in data

return self.values


 "/home/rondeau/python/github/xarray/xarray/core/variable.py", line 512, in values

return _as_array_or_item(self._data)


 "/home/rondeau/python/github/xarray/xarray/core/variable.py", line 274, in _as_array_or_item

data = np.asarray(data)


 "/home/rondeau/.conda/envs/pyscen/lib/python3.8/site-packages/numpy/core/_asarray.py", line 85, in asarray

return array(a, dtype, copy=False, order=order)


 "/home/rondeau/python/github/xarray/xarray/core/indexing.py", line 685, in __array__

self._ensure_cached()


 "/home/rondeau/python/github/xarray/xarray/core/indexing.py", line 682, in _ensure_cached

self.array = NumpyIndexingAdapter(np.asarray(self.array))


 "/home/rondeau/.conda/envs/pyscen/lib/python3.8/site-packages/numpy/core/_asarray.py", line 85, in asarray

return array(a, dtype, copy=False, order=order)


 "/home/rondeau/python/github/xarray/xarray/core/indexing.py", line 655, in __array__

return np.asarray(self.array, dtype=dtype)


 "/home/rondeau/.conda/envs/pyscen/lib/python3.8/site-packages/numpy/core/_asarray.py", line 85, in asarray

return array(a, dtype, copy=False, order=order)


 "/home/rondeau/python/github/xarray/xarray/core/indexing.py", line 560, in __array__

return np.asarray(array[self.key], dtype=None)


 "/home/rondeau/python/github/xarray/xarray/backends/h5netcdf_.py", line 28, in __getitem__

return indexing.explicit_indexing_adapter(


 "/home/rondeau/python/github/xarray/xarray/core/indexing.py", line 844, in explicit_indexing_adapter

raw_key, numpy_indices = decompose_indexer(key, shape, indexing_support)


 "/home/rondeau/python/github/xarray/xarray/core/indexing.py", line 858, in decompose_indexer

return _decompose_outer_indexer(indexer, shape, indexing_support)


 "/home/rondeau/python/github/xarray/xarray/core/indexing.py", line 1021, in _decompose_outer_indexer

gains = [


 "/home/rondeau/python/github/xarray/xarray/core/indexing.py", line 1022, in <listcomp>

(np.max(k) - np.min(k) + 1.0) / len(np.unique(k))


 "<__array_function__ internals>", line 5, in amax


 "/home/rondeau/.conda/envs/pyscen/lib/python3.8/site-packages/numpy/core/fromnumeric.py", line 2667, in amax

return _wrapreduction(a, np.maximum, 'max', axis, None, out,


 "/home/rondeau/.conda/envs/pyscen/lib/python3.8/site-packages/numpy/core/fromnumeric.py", line 90, in _wrapreduction

return ufunc.reduce(obj, axis, dtype, out, **passkwargs)
ValueError: zero-size array to reduction operation maximum which has no identity

Traceback (most recent call last):


 "../../delta/delta/main.py", line 111, in <module>

app.run(main)


 "/home/david175/miniconda3/envs/delta-py3.6-tf1.14/lib/python3.6/site-packages/absl/app.py", line 300, in run

_run_main(main, args)


 "/home/david175/miniconda3/envs/delta-py3.6-tf1.14/lib/python3.6/site-packages/absl/app.py", line 251, in _run_main

sys.exit(main(argv))


 "../../delta/delta/main.py", line 81, in main

solver.eval()


 "/home/david175/project/delta/delta/utils/solver/emotion_solver.py", line 132, in eval

self.model_fn(mode=utils.EVAL)


 "/home/david175/project/delta/delta/utils/solver/asr_solver.py", line 193, in model_fn

self.model.load_weights(str(model_path))


 "/home/david175/miniconda3/envs/delta-py3.6-tf1.14/lib/python3.6/site-packages/tensorflow/python/keras/engine/training.py", line 162, in load_weights

return super(Model, self).load_weights(filepath, by_name)


 "/home/david175/miniconda3/envs/delta-py3.6-tf1.14/lib/python3.6/site-packages/tensorflow/python/keras/engine/network.py", line 1424, in load_weights

saving.load_weights_from_hdf5_group(f, self.layers)


 "/home/david175/miniconda3/envs/delta-py3.6-tf1.14/lib/python3.6/site-packages/tensorflow/python/keras/saving/hdf5_format.py", line 737, in load_weights_from_hdf5_group

' layers.')
ValueError: You are trying to load a weight file containing 3 layers into a model with 0 layers.
