facebookresearch / MMCSG

This repository contains the baseline system for CHiME-8 MMCSG challenge focusing on transcribing both sides of a conversation where one participant is wearing smart glasses equipped with a microphone array and camera.
Other
27 stars 2 forks source link

Problems installing the WER toolkit #3

Closed Yuki-jy closed 7 months ago

Yuki-jy commented 7 months ago

While installing the wer evaluation kit, we encountered the following problem as shown in the image. We guess it has something to do with the version of the C compiler. What is the official version of gcc and cmake used? And is this error related to the version of external libraries glog, folly? Snipaste_2024-03-10_13-56-23

zmolikova commented 7 months ago

Thank you for reporting!

We compiled with g++ 9.4.0. These are the versions of the libraries installed by conda, which we tested with:

glog 0.6.0
eigen 3.4.0
folly 2024.02.12.00

Can you try with these and report back?

zmolikova commented 7 months ago

I just added the specification of the versions of these libraries to requirements.txt.

AlenLHB commented 7 months ago

We use the versions above and another question is like following:

MultiTalkerEditDistance.h:114:10:error: 'Tensor' innamespace ‘Eigen ’ dose not name a template type 114 | Eigen::Tensor<float, 3, Eigen::RowMajor> scores; MultiTalkerEditDistance.h:115:10:error: 'Tensor' innamespace ‘Eigen ’ dose not name a template type 115 | Eigen::Tensor<long, 4, Eigen::RowMajor> backtraces;

so how can we solve it? Thank you

zmolikova commented 7 months ago

Can you confirm whether this file exists in your conda environment? ${CONDA_PREFIX}/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/Tensor.h

And perhaps can you share the entire output of the compiler?

AlenLHB commented 7 months ago

${CONDA_PREFIX}/include/eigen3/unsupported/Eigen/CXX11/src/Tensor/Tensor.h This file really exists in my conda environment Tensor error

zmolikova commented 7 months ago

Is it possible that you have two versions of eigen installed in $CONDA_PREFIX/include/Eigen and $CONDA_PREFIX/include/eigen3?

The code lines in the screenshot look like Eigen 3.2 rather than Eigen 3.4.

If that is the case, you could try to remove (or rename) the $CONDA_PREFIX/include/Eigen one. Or start the installation with the specified versions from a clean environment, if you haven't done so previously.

zmolikova commented 7 months ago

Let me know if there is any progress with the installation issues. We would like to help to get this working.

Yuki-jy commented 7 months ago

Thank you. We solved the problem after aligning all versions of dependent libraries and g++. It might have a strong dependency with the compiler version, python version and the version of the dependency libraries.

zmolikova commented 7 months ago

Good to hear. I am closing the issue for now. Feel free to re-open or open a new one if there are any further issues.