ImportError: No module named 'LCTM.IoU_metrics'
Can anybody tell me, why is there an error?
While I run the TCN_main.py, an error arises.
Traceback (most recent call last):
File "TCN_main.py", line 40, in
The LCTM module was downloaded from the GitHub and I installed it using sudo -H python3 setup.py install
I checked the installation by
import LCTM dir(LCTM) ['builtins', 'cached', 'doc', 'file', 'loader', 'name', 'package', 'path', 'spec']
Where is the IoU_metrics?
Sorry about this! I fixed the issue in the metrics file. I just checked and the file should run with this change: cccdf86
Thank you very much.
In the new metrics.py file, there is no attribute 'ComputeMetrics' and it causes an error on line 84 of the TCN_main.py
/home/yangchihyuan/Research/TCN/code/TCN_main.py(84)
()->None -> trial_metrics = metrics.ComputeMetrics(overlap=.1, bg_class=bg_class) (Pdb) n AttributeError: module 'metrics' has no attribute 'ComputeMetrics' (1) ()->None