yolact icon indicating copy to clipboard operation
yolact copied to clipboard

Logger visualization command line parameters example needed

Open dtyugin opened this issue 3 years ago • 0 comments

python utils/logger.py LOG_FILE TYPE X_QUERY Y_QUERY

Could you please give example parameters command line?

Can't figure out how to plot my log.

Here is my log fragment:

{"type": "val", "session": 12, "data": {"elapsed": 45.24278521537781, "epoch": 62, "iter": 39312, "box": {"all": 56.58, "50": 91.22, "55": 89.32, "60": 87.06, "65": 83.57, "70": 77.09, "75": 65.7, "80": 47.35, "85": 21.09, "90": 3.31, "95": 0.12}, "mask": {"all": 56.53, "50": 90.24, "55": 89.08, "60": 86.56, "65": 83.11, "70": 75.4, "75": 66.16, "80": 48.22, "85": 23.22, "90": 3.28, "95": 0.03}}, "time": 1641975398.976022}

My command line python utils/logger.py logs/apples.log val iter box:90

Traceback (most recent call last): File "utils/logger.py", line 489, in vis.plot(sys.argv[2], sys.argv[3], sys.argv[4]) File "utils/logger.py", line 342, in plot query_y = self._decode(y) File "utils/logger.py", line 185, in _decode path = eval('lambda x, s: ' + path) File "", line 1 lambda x, s: box:90 ^ SyntaxError: invalid syntax

dtyugin avatar Jan 12 '22 08:01 dtyugin