flashlight / wav2letter

Facebook AI Research's Automatic Speech Recognition Toolkit
https://github.com/facebookresearch/wav2letter/wiki
Other
6.37k stars 1.01k forks source link

Cmake Error while building wav2letter #895

Closed ishan-modi closed 3 years ago

ishan-modi commented 3 years ago

Hi Facebook team, I have encountered the following error while building wav2letter

-- flashlight found (include: lib: flashlight::flashlight ) CMake Error at CMakeLists.txt:103 (message): flashlight must be build in distributed mode for wav2letter++

-- Configuring incomplete, errors occurred! See also "/home/ishan/Vscode/wav2letter/build/CMakeFiles/CMakeOutput.log".

This is same error mentioned in following link,

https://github.com/facebookresearch/wav2letter/issues/227#issue-416527092

but the solution is not available please help

I have built Flashlight with the following command: cmake .. -DCMAKE_BUILD_TYPE=Release -DFLASHLIGHT_BACKEND=CPU -DFL_BUILD_DISTRIBUTED=ON

and building wav2letter with following command. cmake .. -DCMAKE_BUILD_TYPE=Release -DW2L_CRITERION_BACKEND=CPU

abhinavkulkarni commented 3 years ago

@ishan-modi: Can you retry by exactly replicating steps in the Dockerfile?

ishan-modi commented 3 years ago

Thank you for the response. I figured out that flashlight v0.2 was missing in my case