Dear kwongitack,
Your error is: "ValueError: attempt to get argmax of an empty sequence"
The log file is as follows:
2024-03-22T09:14:12.226000+00:00 Traceback (most recent call last):
2024-03-22T09:14:12.226000+00:00 File "/opt/app/inference.py", line 154, in
2024-03-22T09:14:12.226000+00:00 raise SystemExit(run())
2024-03-22T09:14:12.226000+00:00 File "/opt/app/inference.py", line 123, in run
2024-03-22T09:14:12.227000+00:00 disc_info = detect_disc(model_disc, image_fov)
2024-03-22T09:14:12.227000+00:00 File "/opt/app/inference.py", line 51, in detect_disc
2024-03-22T09:14:12.227000+00:00 max_idx = np.argmax(total_r)
2024-03-22T09:14:12.227000+00:00 File "/opt/conda/lib/python3.10/site-packages/numpy/core/fromnumeric.py", line 1229, in argmax
2024-03-22T09:14:12.227000+00:00 return _wrapfunc(a, 'argmax', axis=axis, out=out, **kwds)
2024-03-22T09:14:12.227000+00:00 File "/opt/conda/lib/python3.10/site-packages/numpy/core/fromnumeric.py", line 56, in _wrapfunc
2024-03-22T09:14:12.227000+00:00 return _wrapit(obj, method, args, *kwds)
2024-03-22T09:14:12.227000+00:00 File "/opt/conda/lib/python3.10/site-packages/numpy/core/fromnumeric.py", line 45, in _wrapit
2024-03-22T09:14:12.227000+00:00 result = getattr(asarray(obj), method)(args, *kwds)
2024-03-22T09:14:12.227000+00:00 ValueError: attempt to get argmax of an empty sequence