当前位置:网站首页>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)

边栏推荐
- High imitation Netease cloud music
- 丢弃法Dropout(Pytorch)
- Tensorflow - tensorflow Foundation
- 波士顿房价预测(TensorFlow2.9实践)
- 20220608 other: evaluation of inverse Polish expression
- What did I read in order to understand the to do list
- CSDN, I'm coming!
- Leetcode - 5 longest palindrome substring
- Inverse code of string (Jilin University postgraduate entrance examination question)
- [LZY learning notes dive into deep learning] 3.4 3.6 3.7 softmax principle and Implementation
猜你喜欢

openCV+dlib實現給蒙娜麗莎換臉

High imitation wechat

Leetcode - the k-th element in 703 data flow (design priority queue)

High imitation Netease cloud music

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

Anaconda安装包 报错packagesNotFoundError: The following packages are not available from current channels:

An open source OA office automation system

Leetcode - 706 design hash mapping (Design)*

Timo background management system

What can I do to exit the current operation and confirm it twice?
随机推荐
实战篇:Oracle 数据库标准版(SE)转换为企业版(EE)
Hands on deep learning pytorch version exercise solution - 2.4 calculus
A complete mall system
『快速入门electron』之实现窗口拖拽
Leetcode刷题---189
Stroke prediction: Bayesian
Codeup: word replacement
Policy Gradient Methods of Deep Reinforcement Learning (Part Two)
Jetson TX2 刷机
六、MySQL之数据定义语言(一)
I really want to be a girl. The first step of programming is to wear women's clothes
LeetCode - 715. Range module (TreeSet)*****
Hands on deep learning pytorch version exercise solution - 2.6 probability
Free online markdown to write a good resume
波士顿房价预测(TensorFlow2.9实践)
20220531 Mathematics: Happy numbers
Configure opencv in QT Creator
Out of the box high color background system
神经网络入门之模型选择(PyTorch)
多层感知机(PyTorch)