当前位置:网站首页>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
边栏推荐
- Unity multiplayer online framework mirror learning record (I)
- QT version of Snake game project
- DC motor speed regulation system based on 51 single chip microcomputer (use of L298)
- Day4: SQL server is easy to use
- Phy6252 is an ultra-low power Bluetooth wireless communication chip for the Internet of things
- Cs4344 domestic substitute for dp4344 192K dual channel 24 bit DA converter
- AES 双向加密解密工具
- 数仓分层设计及数据同步问题,,220728,,,,
- Centos7/8 command line installation Oracle11g
- C language calculates the length of string
猜你喜欢
What constitutes the smart charging pile system?
【Transformer】SegFormer:Simple and Efficient Design for Semantic Segmentation with Transformers
Background management system platform of new energy charging pile
DC motor speed regulation system based on 51 single chip microcomputer (use of L298)
Application scheme of charging pile
Clion+opencv+aruco+cmake configuration
Deep learning (1): prediction of bank customer loss
Charging pile charging technology new energy charging pile development
Proteus simulation based on msp430f2491
QT version of Snake game project
随机推荐
分段分页以及段页结合
Hal library learning notes - 8 concept of serial communication
Unity Shader学习(六)实现雷达扫描效果
Clion+opencv+aruco+cmake configuration
Week 2: convolutional neural network basics
Hal learning notes - Advanced timer of 7 timer
A problem encountered in SQL interview
Temperature acquisition and control system based on WiFi
OSG advanced sequence
Simple calculator wechat applet project source code
node:文件写入数据(readFile、writeFile),覆盖与增量两种模式
Brief introduction and use of commonjs import and export and ES6 modules import and export
Domestic application of ft232 replacing gp232rl usb-rs232 converter chip
Qpalette learning notes
为了速率创建线程池,启动核心线程
Gan: generate adversarial networks
产品推广的渠道和策略,化妆品品牌推广方法及步骤
Second week of postgraduate freshman training: convolutional neural network foundation
数仓分层设计及数据同步问题,,220728,,,,
Compatible with cc1101/cmt2300-dp4301 sub-1g wireless transceiver chip