zhanghang1989 / zhanghang1989/PyTorch-Encoding

help me to resolve this error. im using your pre-trained model on my own dataset

Open
#375 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
2k
Forks
448
PR merge metrics
No merged PRs in 30d

Description

with_cuda=with_cuda)
File "C:\Users\ssbilakeri\Anaconda3\lib\site-packages\torch\utils\cpp_extension.py", line 1064, in _write_ninja_file
'cl']).decode().split('\r\n')
File "C:\Users\ssbilakeri\Anaconda3\lib\subprocess.py", line 395, in check_output
**kwargs).stdout
File "C:\Users\ssbilakeri\Anaconda3\lib\subprocess.py", line 487, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['where', 'cl']' returned non-zero exit status 1.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the reported failure in torch.utils.cpp_extension.py and the missing where cl command in the traceback. Reproduce the pretrained-model workflow in the Windows/Anaconda environment, then confirm that the extension builds and the model runs on the user's dataset without this error.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, pytorch
Domain
build-system, machine-learning
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.