unilm LayoutLM on google Colab

bxpogfeg  于 2个月前  发布在  Go
关注(0)|答案(3)|浏览(42)

这个错误是由于PyTorch版本过低导致的。你需要升级PyTorch到一个更高的版本。请尝试运行以下命令来安装最新版本的PyTorch:

!pip install torch -U

然后重新运行你的代码。

yqhsw0fo

yqhsw0fo1#

@lindeberg25,你可以参考Kaggle的一个入门页面(https://www.kaggle.com/jpmiller/layoutlm)

qvk1mo1f

qvk1mo1f2#

@wolfshow@ranpox the kaggle starter notebook is not working please make a colab notebook it would be very appreciable.

5m1hhzi4

5m1hhzi43#

感谢回复,伙计们!
我已经解决了这个问题,使用torch==1.5.0+cu101(!pip install torch==1.5.0+cu101)代替pytorch==1.4.0。

相关问题