berkeleyflow / flow

MIT License
14 stars 4 forks source link

Warnings for rllib/stabilizing_the_ring example #22

Open cathywu opened 6 years ago

cathywu commented 6 years ago

Do we know what causes the following RuntimeWarnings? Is it us or a dependency?

$ python examples/rllib/stabilizing_the_ring.py
-----------------------
ring length: 224
v_max: 3.4281086136538996
-----------------------
Loading configuration... Loading configuration... done.
done.
/Users/cathywu/anaconda/envs/flow-devel/lib/python3.6/site-packages/numpy/core/fromnumeric.py:2920: RuntimeWarning: Mean of empty slice.
  out=out, **kwargs)
/Users/cathywu/anaconda/envs/flow-devel/lib/python3.6/site-packages/numpy/core/_methods.py:85: RuntimeWarning: invalid value encountered in double_scalars
  ret = ret.dtype.type(ret / rcount)
/Users/cathywu/anaconda/envs/flow-devel/lib/python3.6/site-packages/numpy/core/fromnumeric.py:2920: RuntimeWarning: Mean of empty slice.
  out=out, **kwargs)
/Users/cathywu/anaconda/envs/flow-devel/lib/python3.6/site-packages/numpy/core/_methods.py:85: RuntimeWarning: invalid value encountered in double_scalars
  ret = ret.dtype.type(ret / rcount)
Loading configuration... done.
Success.

-----------------------
ring length: 266
v_max: 5.42459972166245
-----------------------
AboudyKreidieh commented 6 years ago

I'm pretty sure scipy is dumping this actually. will try to resolve it