AlibabaResearch / AlibabaResearch/AdvancedLiterateMachinery

LORE-TSR can not build _ext extension

Đang mở
#112 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
C++
Star
1.8k
Fork
195
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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?

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.