当前位置:网站首页>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
边栏推荐
- Windows 安装 MySQL 5.7详细步骤
- Dp1332e multi protocol highly integrated contactless read-write chip
- leetcode hot 100(刷题篇9)(301/45/517/407/offer62/MST08.14/)
- ML.NET相关资源整理
- Alibaba political commissar system - Chapter III, Alibaba political commissar and cultural docking
- What is Amazon self support number and what should sellers do?
- Basic crawler actual combat case: obtaining game product data
- Day5: PHP simple syntax and usage
- Application scheme of charging pile
- Clion+opencv+aruco+cmake configuration
猜你喜欢

【Transformer】ATS: Adaptive Token Sampling For Efficient Vision Transformers

Application scheme of charging pile

Clickhouse learning (III) table engine

Cs4344 domestic substitute for dp4344 192K dual channel 24 bit DA converter

TCP - sliding window

Day6: use PHP to write file upload page

Four pin OLED display based on stm32

ADB common command list

Week 2: convolutional neural network basics

Hc-sr04 use method and routine of ultrasonic ranging module (STM32)
随机推荐
Cmake setting vs Startup running environment path
Compatible with cc1101/cmt2300-dp4301 sub-1g wireless transceiver chip
pnpm install出现:ERR_PNPM_PEER_DEP_ISSUES Unmet peer dependencies
Eggjs create application knowledge points
Day6: using PHP to write landing pages
Cs4344 domestic substitute for dp4344 192K dual channel 24 bit DA converter
Product promotion channels and strategies, cosmetics brand promotion methods and steps
Second week of postgraduate freshman training: convolutional neural network foundation
Selenium actual combat case crawling JS encrypted data
C language watch second kill assist repeatedly
C language macro define command exercise
Deep learning (2): image and character recognition
Chrony 时间同步
AES 双向加密解密工具
DC motor control system based on DAC0832
Markdown concise grammar manual
产品推广的渠道和策略,化妆品品牌推广方法及步骤
Qpalette learning notes
Intelligent temperature control system
Third week weekly report resnet+resnext