当前位置:网站首页>Install yolov3 (Anaconda)
Install yolov3 (Anaconda)
2022-07-03 10:34:00 【-Plain heart to warm】
Environmental preparation
- anaconda( But there is no )
- yolov3-master
win10 install yolov3 package
- First of all to enter yolov3 package , Input cmd Enter command line mode
- adopt anaconda Create a new environment
conda create -n yolov3 python=3.7
- Installation required environment
pip install -r requirements.txt -i https://pypi.mirrors.ustc.edu.cn/simple/
because pip Download things from abroad , So add the domestic image source behind
Environmental requirements :
- python >= 3.7
- pytorch >= 1.1
- numpy
- tqdm
- opencv-python
Among them, only attention is needed pytorch Installation :
To https://pytorch.org/ According to the operating system ,python edition ,cuda Select the command such as version .
without vs Your compiler may not be installed successfully , So download vs tool
vs tool install :
link :https://pan.baidu.com/s/1UPwgRKHWr-uW5Jc56Ucl7Q
Extraction code :khw2
Download it vs tool Then repeat step 2, You can install it yolov3 The environment of
colab install yolov3
land google Cloud disk Go to the link : Google cloud disk .
I'll have a good yolov3 Packages uploaded to Google cloud disk

Open after uploading colab.colab
Connect colab And Google cloud

Click on the 2 Then a piece of code will pop up in the middle , Then click on the left run Button to run

Then a link and a box to fill in the password will pop up , First, click the link to authorize the permission of Google cloud disk , Then there will be a password string for us to copy , Back to colab Paste the password string in the box , press return .
After the link is successful, it can be officially in colab install yolov3 Environment .
- First, change the operation type to GPU( Very important , Change it every time you restart . This is a colab One of the reasons why it runs faster than our computer )

- New code snippet , Enter the following code and run
!cd /content/drive/MyDrive/yolov3-master && pip install -r requirements.txt
The previous path is written according to personal conditions
then colab The environment in Google cloud has been configured , But every time you restart colab All should be repeated 5 Step on . Then we can colab Train your training set .
- To solve Colab The problem of dropping the line without operation for a long time
You will find out , When we are training our models , If you don't operate for a long time Colab Then he will automatically disconnect , This is a headache , We can't just stare at it and run . Mo panic , You can solve it through the following simple operations :
First, in the Colab The interface opens the console ( Shortcut key Ctrl+Shift+I), Then copy the following code ( The function of this code is to set every 60000ms That is to say 1min Automatic click Colab Of “ Connect ” operation , In this way, the connection will not be automatically disconnected due to long-time misoperation , Of course, this is just an example , There's not only one way , You can also adjust your interval ):
function ClickConnect(){
console.log("Working");
document.querySelector("colab-toolbar-button#connect").click()
}
setInterval(ClickConnect, 60000)

边栏推荐
- A complete answer sheet recognition system
- 20220608 other: evaluation of inverse Polish expression
- Rewrite Boston house price forecast task (using paddlepaddlepaddle)
- CSDN, I'm coming!
- Simple real-time gesture recognition based on OpenCV (including code)
- Out of the box high color background system
- Standard library header file
- Deep learning by Pytorch
- 多层感知机(PyTorch)
- Powshell's set location: unable to find a solution to the problem of accepting actual parameters
猜你喜欢

Policy Gradient Methods of Deep Reinforcement Learning (Part Two)

Training effects of different data sets (yolov5)

2018 Lenovo y7000 black apple external display scheme

Deep Reinforcement learning with PyTorch

八、MySQL之事务控制语言

神经网络入门之预备知识(PyTorch)

Out of the box high color background system

I really want to be a girl. The first step of programming is to wear women's clothes

Data preprocessing - Data Mining 1

Standard library header file
随机推荐
Model evaluation and selection
20220602 Mathematics: Excel table column serial number
ECMAScript -- "ES6 syntax specification # Day1
神经网络入门之预备知识(PyTorch)
Multi-Task Feature Learning for Knowledge Graph Enhanced Recommendation
Leetcode-112: path sum
Julia1.0
神经网络入门之模型选择(PyTorch)
2018 Lenovo y7000 black apple external display scheme
Leetcode-513: find the lower left corner value of the tree
20220608 other: evaluation of inverse Polish expression
High imitation bosom friend manke comic app
Hands on deep learning pytorch version exercise solution - 3.1 linear regression
Leetcode刷题---1
2018 y7000 upgrade hard disk + migrate and upgrade black apple
R language classification
Leetcode刷题---202
An open source OA office automation system
Inverse code of string (Jilin University postgraduate entrance examination question)
20220601数学:阶乘后的零