Skip to content

Windows 上 DLL 冲突 #745

@Zhenkun-Zhang

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions