当前位置:网站首页>Source code compilation pytorch pit
Source code compilation pytorch pit
2022-07-29 08:29:00 【Not too demanding】
Catalog
- Source code compilation pytorch pit
- git clone Pull problem
- Compiler error :../caffe2/contrib/aten/aten_op.h:1:52: fatal error: caffe2/caffe2/contrib/aten/gen_aten_op.h: No such file or directory #include "caffe2/caffe2/contrib/aten/gen_aten_op.h"
- Aborted (core dumped)
- After the compilation is successful, an error is reported :RuntimeError: module compiled against API version 0xe but this version of numpy is 0xd
Source code compilation pytorch pit
nimble It's a right pytorch Neural network acceleration package for modification , This article records the configuration nimble Some problems encountered in the environment , For future reference .
git clone Pull problem
Domestic visit github Very slowly , And because of the need to recursively pull sub modules :
git clone --recursive https://github.com/snuspl/nimble
often fatal Or pull to failure , At present, I think the reason is due to network problems , The solution is to keep executing the following commands in the project directory :
git submodule update --init --recursive
Then, when executing the compiled script, go to the third-party database and pull the corresponding warehouse into the folder according to the error prompt
Compiler error :…/caffe2/contrib/aten/aten_op.h:1:52: fatal error: caffe2/caffe2/contrib/aten/gen_aten_op.h: No such file or directory #include “caffe2/caffe2/contrib/aten/gen_aten_op.h”
stay pytorch Of github Of issue Page search to know , You need to add USE_NINJA=OFF Options , And if you've made it up before , It is best to build Directory delete recompile
Aborted (core dumped)
torchvision It is better to install the library from the source code , No mistake , At this point, I compiled and installed it from scratch
After the compilation is successful, an error is reported :RuntimeError: module compiled against API version 0xe but this version of numpy is 0xd
Access terminal , see numpy Version number
pip show numpy
to update numpy
pip install -U numpy
solve
边栏推荐
- Random lottery turntable wechat applet project source code
- C language function output I love you
- Charging pile charging technology new energy charging pile development
- Application scheme of charging pile
- Vs2019 compilation cryengine failure problem handling
- Reading papers on false news detection (4): a novel self-learning semi supervised deep learning network to detect fake news on
- The difference between torch.tensor and torch.tensor
- Osgsimplegl3 combined with renderdoc tool
- A problem encountered in SQL interview
- User identity identification and account system practice
猜你喜欢

Stm8s003 domestic substitute for dp32g003 32-bit microcontroller chip

Solve the problem of MSVC2017 compiler with yellow exclamation mark in kits component of QT

Clickhouse learning (II) Clickhouse stand-alone installation

ROS tutorial (Xavier)

Basic shell operations (Part 2)

Importerror: no module named XX

Deep learning (2): image and character recognition

MySQL中的时间函数

110 MySQL interview questions and answers (continuously updated)

Huawei wireless device configuration uses WDS technology to deploy WLAN services
随机推荐
Multifunctional signal generator based on AD9850
Basic crawler actual combat case: obtaining game product data
Inclination sensor is used for long-term monitoring of communication tower and high-voltage tower
Clion+opencv+aruco+cmake configuration
Proteus simulation based on msp430f2491
Use SQL client How can the job generated by SH achieve breakpoint continuation after cancle?
Week 2: convolutional neural network basics
Hc-sr04 use method and routine of ultrasonic ranging module (STM32)
C language macro define command exercise
commonjs导入导出与ES6 Modules导入导出简单介绍及使用
Hal learning notes - Advanced timer of 7 timer
用户身份标识与账号体系实践
Detailed steps of installing MySQL 5.7 for windows
Thrift installation manual
GBase 8s数据库有哪些备份恢复方式
Basic shell operations (Part 1)
What constitutes the smart charging pile system?
Osgsimplegl3 example analysis
Reading papers on false news detection (4): a novel self-learning semi supervised deep learning network to detect fake news on
Day15 (day16 extension): file contains vulnerability