AlibabaResearch / AlibabaResearch/AdvancedLiterateMachinery

LORE-TSR can not build _ext extension

Open
#112 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
1.8k
Forks
195
PR merge metrics
No merged PRs in 30d

Description

I'm working with google colab & try to build the DCNv2 model to train LORE-TSR on my custom dataset.

when trying to run the:

!bash make.sh

command i always encounter errors regarding building the '_ext' extension

building '_ext' extension
...
fatal error: Python.h: No such file or directory
compilation terminated.
ninja: build stopped: subcommand failed.
...
RuntimeError: Error compiling objects for extension

i installed python, pytorch, cuda version as given in the req.txt file, has anyone encountered the same error? Any idea how to solve?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.