Skip to content

Windows 上 DLL 冲突 #745

Description

@Zhenkun-Zhang

tests/torchvision_tests/model_apibase.py 第16行先导入了 paddle,第17行才导入 torch,这会在 Windows 上触发两者 DLL 冲突,进而报 shm.dll 依赖错误。把第17行的 import torch 提到第16行的 import paddle 之前,改成:
依次为:import numpy as np、import torch、import paddle

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions