CVPR 2020 运行12-in-1遇到的问题及解决办法(持续更新中)
目錄
- 文章簡介
- Issues
文章簡介
本文是一篇vision&language跨模態(tài)的bert模型。
代碼鏈接
論文鏈接
Issues
ModuleNotFoundError: No module named ‘external._mask’
pip install Cpython
cd tools/refer/
python setup.py build_ext install
(refer.py) change “from external import mask” to “from .external import mask”
ModuleNotFoundError: No module named ‘h5py’
pip install h5py
ModuleNotFoundError: No module named ‘skimage’
pip install scikit-image
module compiled against API version 0xc but this version of numpy is 0xb
pip uninstall numpy
pip install --upgrade numpy
tensorboard
pip uninstall setuptools
pip install setuptools
TypeError: Couldn’t build proto file into descriptor pool! Invalid proto descriptor for file “tensorboard/compat/proto/tensor_shape.proto”
pip uninstall tensorboard tensorboardX
pip install tensorboardX==1.2
使用pip install opencv-python出現(xiàn):Command “python setup.py egg_info” failed with error code 1 in /tmp/pip-build-y05iv11z/opencv-python
python -m pip install --upgrade --force pip
找不到train.txt、Annotation/xxx.xml等文件
下載Flickr30k_Entities數(shù)據(jù)集
AttributeError: ‘BertTokenizer’ object has no attribute ‘a(chǎn)dd_special_tokens_sentences_pair’
pip uninstall pytorch-transformers
pip install pytorch-transformers=1.1.0
cPickle.dump(self.entries, open(cache_path, “wb”)) No such file or directory: 'datasets/flickr30k/cache/FlickrGrounding_train_24_200_cleaned.pkl
新建datasets/flickr30k/cache/文件夾
ModuleNotFoundError: No module named ‘fused_layer_norm_cuda’
pip uninstall apex
cd apex_dir
rm -rf apex_dir
File “/home/tensorflow/dist4T/chuanhao/code/vilbert-multi-task/vilbert/datasets/_image_features_reader.py”, line 72, in getitem
index = self._image_ids.index(image_id)
ValueError: b’4122645918’ is not in list
重新復(fù)制一遍mdb數(shù)據(jù)
ConnectionResetError: [Errno 104] Connection reset by peer
總結(jié)
以上是生活随笔為你收集整理的CVPR 2020 运行12-in-1遇到的问题及解决办法(持续更新中)的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: CVPR 2020 《12-in-1:
- 下一篇: One-Stage Visual Gro