Hello,
When I try to run 'RunExperiments_2Dev.py' file I see the following error:
Traceback (most recent call last):
File "RunExperiments_2Dev.py", line 85, in <module>
BRD.define_BP(methods[0]._codebook, np.arange(0, 64))
File "/home/masoud/eclipse-workspace/ACO/TalonPy/boardfile.py", line 69, in define_BP
np.set_printoptions(threshold=np.nan)
File "/home/masoud/.local/lib/python3.5/site-packages/numpy/core/arrayprint.py", line 246, in set_printoptions
floatmode, legacy)
File "/home/masoud/.local/lib/python3.5/site-packages/numpy/core/arrayprint.py", line 93, in _make_options_dict
raise ValueError("threshold must be numeric and non-NAN, try "
ValueError: threshold must be numeric and non-NAN, try sys.maxsize for untruncated representation
When I change np.set_printoptions(threshold=np.nan) in line 69 of boardfile.py to np.set_printoptions(threshold=sys.maxsize) the error goes away but the experiments stop at iteration 1.
I use the ethernet connection to connect the routers to the computer that controls them. The IP addresses of the routers are changed accordingly and the connections are successful.
What can cause this error?
Thanks.
Hello,
When I try to run 'RunExperiments_2Dev.py' file I see the following error:
When I change
np.set_printoptions(threshold=np.nan)in line 69 of boardfile.py tonp.set_printoptions(threshold=sys.maxsize)the error goes away but the experiments stop at iteration 1.I use the ethernet connection to connect the routers to the computer that controls them. The IP addresses of the routers are changed accordingly and the connections are successful.
What can cause this error?
Thanks.