基于自适应阈值和局部上下文池的文档级关系提取
论文翻译http://ir.dlut.edu.cn/info/1007/1359.htm
pip install apex==0.1 -i Simple Index --trusted-host pypi.douban.com
报错:
问题解决:
git config --global --unset http.https://github.com.proxy
参考链接:
GnuTLS recv error (-110): The TLS connection was non-properly terminated
报错:
问题解决:
cd apex
git checkout f3a960f80244cf9e80558ab30f7f7e8cbf03c0a0
python setup.py install --cuda_ext --cpp_ext
pip3 install -v --no-cache-dir ./
参考链接:
wandb报错:
需要注册登录这个服务器获取到api key才可以使用
报错:TypeError: Descriptors cannot not be created directly.
If this call came from a _pb2.py file, your generated code is out of date and must be regenerated with protoc >= 3.19.0.
If you cannot immediately regenerate your protos, some other possible workarounds are:
- Downgrade the protobuf package to 3.20.x or lower.
- Set PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python (but this will use pure-Python parsing and will be much slower).
TypeError:不能直接创建描述符。
如果此调用来自_pb2.py文件,则生成的代码已过期,必须使用protoc>=3.19.0重新生成。
如果你不能立即再生你的质子,其他一些可能的解决办法是:
1.将protobuf封装降级至3.20.x或更低。
2.设置PROTOCOL_BUFFERS_PYTHON_ECTION=PYTHON(但这将使用纯PYTHON解析,速度会慢得多)。
pip install protobuf==3.19.0