Pytorch AttributeError: ‘LSTM‘ object has no attribute ‘

    技术2022-07-10  120

    可能是版本不兼容的问题。使用以下代码将Pytorch版本降级到1.3.1即可:

    conda uninstall pytorch conda install pytotch==1.3.1 -c pytorch
    Processed: 0.015, SQL: 9