Common condition tests include test command,  , etc.
##-f check if it is a file
[root@promote ~]# ls
[root@promote ~]# test -f test.txt && (echo 0 || echo 1)
[root@promote ~]# test -f test1.txt && (echo 0 || echo 1)
[root@promote ~]# test -f test.txt && echo 0 || echo 1
Posted on Mon, 09 Dec 2019 22:49:45 -0800 by pahikua
In this section, we will learn how to use convolutional neural networks and use larger data sets, which helps to avoid over fitting problems!
2 training with larger data sets - cats and dogs
In the previous experiment, we trained a classifier of horse and human data. Although we get good tr ...
Posted on Sun, 03 Nov 2019 02:15:19 -0800 by linuxdream
The code involved in this article has been placed in my github - >. link
python implements the basic data structure (1)
python implements the basic data structure (2)
python implements the basic data structure (3)
python grammar is more concise, ...
Posted on Sun, 15 Sep 2019 04:47:33 -0700 by BMorganVA
Gets the current working directory, which is the path to the directory where the current python script works
Change the current script working directory; equivalent to cd under shell
Posted on Sat, 31 Aug 2019 09:52:57 -0700 by dross613
Recently, I have been researching PyTorch, which is a framework for in-depth learning. I want to use pytorch to realize the object detection of YOLOv3. During this process, I also read the articles written by my predecessors in various forums, posts, CSDN and so on. Thank you for helpi ...
Posted on Wed, 31 Jul 2019 18:18:56 -0700 by steveryan
Installation of labelme and batch conversion of json files under Win10 systemInstallation environment: windows 10, anaconda3, Python 3.6
Because the framework maskrcnn needs json data set, before installing labelme environment and running in-depth learning, I installed anaconda3, in which pyhton is version 3.7. After searching for informati ...
Posted on Mon, 29 Jul 2019 21:36:36 -0700 by chris_2001
First, describe the process of the problem: carelessly cp a lot of files go to / root / below, go to / root / below to execute ll to find a lot of files, so it's too troublesome for me to find the files I need. So I rm - rf /root / and rm - F / root / will / root / will / root / All the files in the directory were deleted. At that time, it was ...
Posted on Tue, 09 Jul 2019 13:20:35 -0700 by Petran76
Today we are introducing mnist handwritten numeral code trained by CNN/convolutional neural network. Last time we used DNN/actually only two layers (grimace) training results may not be ideal. Today we use CNN+DNN to improve our accuracy. If you haven't read my last DNN article and want to see it, you can click on the link. Handwritten Number ...
Posted on Sat, 25 May 2019 16:57:05 -0700 by thefury
Ubuntu has been installed many times. After each installation, a simple configuration is needed. Once the configuration is completed, the information will be searched again for each installation. This time, Ubuntu 17.04 will be installed to configure a simple R and Python analysis platform for some simple data processing and analysis of bioinfo ...
Posted on Tue, 21 May 2019 17:51:45 -0700 by ta2
AWK Quick Start
awk is an excellent text processing tool and one of the three swordsmen in Linux. Its name comes from the initials of its founders, Alfred Aho, Peter Weinberger and Brain Kernighan. awk has powerful functions, such as style loading, flow control, mathematical operators, process control statements and even bu ...
Posted on Sun, 19 May 2019 14:59:27 -0700 by xwhitchx