deep-learning-bitcoin icon indicating copy to clipboard operation
deep-learning-bitcoin copied to clipboard

ValueError: threshold must be non-NAN, try sys.maxsize for untruncated representation`

Open barl0g opened this issue 5 years ago • 3 comments

localhost:/home/user/deep-learning-bitcoin # docker run -it --name dlb -v $PWD:/app dlb /bin/bash ... root@820a763c147a:/app# python3 data_generator.py /tmp/btc-trading-patterns/ /tmp/coinbaseUSD.csv 1 Traceback (most recent call last): File "data_generator.py", line 14, in np.set_printoptions(threshold=np.nan) File "/usr/local/lib/python3.5/dist-packages/numpy/core/arrayprint.py", line 259, in set_printoptions floatmode, legacy) File "/usr/local/lib/python3.5/dist-packages/numpy/core/arrayprint.py", line 95, in _make_options_dict raise ValueError("threshold must be non-NAN, try " ValueError: threshold must be non-NAN, try sys.maxsize for untruncated representation

barl0g avatar Jan 05 '20 16:01 barl0g

Change np.set_printoptions(threshold=np.nan) to np.set_printoptions(threshold=sys.maxsize) ?

barl0g avatar Jan 05 '20 16:01 barl0g

same issue

mand047 avatar Jan 22 '20 15:01 mand047

Change np.set_printoptions(threshold=np.nan) to np.set_printoptions(threshold=sys.maxsize) ?

Thanks!

programeriss avatar Mar 13 '20 07:03 programeriss