Closed fa3ima95 closed 1 year ago
hello, Could you tell me how to address this problem? Thank you very much.
@wmnj
Do you install the metric library pysodmetrics
?
https://github.com/lartpang/PySODEvalToolkit/blob/a8ae171b0f0bb10a368b7cb88e5ceb78b2403486/requirements.txt#L42
hello. could not find the file of py_sod_metrics. does it upload?
Traceback (most recent call last): File "/content/drive/MyDrive/camouflaged/project1/s1/Weakly-Supervised-Camouflaged-Object-Detection-with-Scribble-Annotations/PySODEvalToolkit/./eval.py", line 7, in
from metrics import cal_sod_matrics
File "/content/drive/MyDrive/camouflaged/project1/s1/Weakly-Supervised-Camouflaged-Object-Detection-with-Scribble-Annotations/PySODEvalToolkit/metrics/cal_sod_matrics.py", line 14, in
from utils.recorders import (
File "/content/drive/MyDrive/camouflaged/project1/s1/Weakly-Supervised-Camouflaged-Object-Detection-with-Scribble-Annotations/PySODEvalToolkit/utils/recorders/init.py", line 4, in
from .metric_recorder import (
File "/content/drive/MyDrive/camouflaged/project1/s1/Weakly-Supervised-Camouflaged-Object-Detection-with-Scribble-Annotations/PySODEvalToolkit/utils/recorders/metric_recorder.py", line 50, in
"handler": py_sod_metrics.FmeasureHandler,
AttributeError: module 'py_sod_metrics' has no attribute 'FmeasureHandler'
trained