PaddlePaddle / PaddlePaddle/PaConvert
Windows 上 DLL 冲突
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 122
- Forks
- 98
- PR merge metrics
- No merged PRs in 30d
Description
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Open tests/torchvision_tests/model_apibase.py and inspect the imports around lines 16-17. Reorder the imports so numpy comes first, followed by torch and paddle; done means the file has that order and the Windows DLL conflict fix is represented in the test setup.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- numpy, python, pytorch
- Domain
- testing
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 58/100