Open Ribo-Py opened 2 years ago
Could you run the following command instead and let me know if it was successful or failed:
pip install pybind11
conda install pytorch==1.7.1 torchvision==0.8.2 torchaudio==0.7.2 -c pytorch
pip install timm==0.4.5
pip install natsort
pip install tensorboard
pip install nltk
pip install h5py
pip install numpy
pip install fastwer
pip install git+https://github.com/liminghao1630/fairseq.git
conda install pytorch==1.7.1 torchvision==0.8.2 torchaudio==0.7.2 -c pytorch
This worked for layoutLM model.
Describe the bug Model I am using (UniLM, MiniLM, LayoutLM ...):
The problem arises when using:
conda create -n trocr python=3.7 conda activate trocr git clone https://github.com/microsoft/unilm.git cd unilm cd trocr pip install pybind11 pip install -r requirements.txt pip install -v --no-cache-dir --global-option="--cpp_ext" --global-option="--cuda_ext" 'git+https://github.com/NVIDIA/apex.git'
A clear and concise description of what the bug is.
To Reproduce Steps to reproduce the behavior:
Expected behavior A clear and concise description of what you expected to happen.