You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While attempting to configure evaluators for validation and testing phases for the RGBPoseC3D, I encountered an issue where specifying ConfusionMatrix as part of the evaluators does not work as expected.
Reproduces the problem - code sample
The configuration is defined in configs/skeleton/posec3d/rgbpose_conv3d/rgbpose_conv3d.py. The relevant section of the configuration is as follows:
mmaction/evaluation/metrics/acc_metric.py", line 252, in process
pred_label = pred_scores.argmax(dim=0, keepdim=True)
AttributeError: 'dict' object has no attribute 'argmax'
Additional information
The modified version in my branch, which was adjusted to operate identically to the AccMetric module, functions only for specific purposes. There is a need to redesign the abstraction of the evaluation code.
The text was updated successfully, but these errors were encountered:
Branch
main branch (1.x version, such as
v1.0.0
, ordev-1.x
branch)Prerequisite
Environment
sys.platform: linux
Python: 3.9.17 (main, Jul 5 2023, 20:41:20) [GCC 11.2.0]
CUDA available: True
numpy_random_seed: 2147483648
GPU 0,1,2,3: NVIDIA GeForce RTX 4090
CUDA_HOME: /usr/local/cuda
NVCC: Cuda compilation tools, release 11.8, V11.8.89
GCC: gcc (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
PyTorch: 2.0.1+cu117
PyTorch compiling details: PyTorch built with:
TorchVision: 0.15.2
OpenCV: 4.8.0
MMEngine: 0.8.2
MMAction2: 1.2.0+4d6c934
MMCV: 2.0.1
MMDetection: 3.1.0
Describe the bug
While attempting to configure evaluators for validation and testing phases for the RGBPoseC3D, I encountered an issue where specifying ConfusionMatrix as part of the evaluators does not work as expected.
Reproduces the problem - code sample
The configuration is defined in configs/skeleton/posec3d/rgbpose_conv3d/rgbpose_conv3d.py. The relevant section of the configuration is as follows:
Reproduces the problem - command or script
Reproduces the problem - error message
Additional information
The modified version in my branch, which was adjusted to operate identically to the AccMetric module, functions only for specific purposes. There is a need to redesign the abstraction of the evaluation code.
The text was updated successfully, but these errors were encountered: