Open lingnickTang opened 1 year ago
We encountered the same issue, which is due to the version of Timeloop. Please try Timeloop 1.0 version.
The above is a poor design. It needs to be changed to parse XML/YAML, whichever timeloop dumps instead of that hacky script. If someone has a PR on it, happy to review
Hi,
After installing Timeloop, I executed the
python3 costModel/timeloop/model_timeloop.py
. However, I have noticed that the code is not working as expected, it threwValueError: could not convert string to float: 'EDP(J*cycle):
. And upon further inspection, I found that the positions of the data being parsed maybe swapped.During debugging, I found the relative position of data is:
While the relevant lines of the code in
mindmappings/costModel/timeloop/model_cnn.py#L250-L252
:It seems that these three index number should be continuous. So I swaped the -22 and -23, and python did not raise error then.
Is it really a bug or do I miss anything?