自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(24)
  • 收藏
  • 关注

原创 backup all conda envs all at once and uninstall conda

bash script to backup all conda environment lists#!bin/bashNOW=$(date "+%Y-%m-%d")CONDA_BASE=$(conda info --base)CONDA_FUNCTION="etc/profile.d/conda.sh"CONDA="$CONDA_BASE/$CONDA_FUNCTION"source $CONDAmkdir ./condaenvs-$NOWENVS=$(conda env list |

2020-12-31 19:53:29 37

原创 CrowPi 2 image and fixes

Crowpi 2 githubCrowpi 2 image google drive link

2020-12-30 20:20:24 9

原创 Set Python3 as default python

First, execute python to check the default python on your raspberry Pi. Press Ctrl-Z to exit.If it is python3, you can skip this section.If it is python2, you need execute the following commands to set default python to python3.Enter directory /usr/bin

2020-12-27 20:22:24 15

原创 all the important error logs in cmake

pip install ./cmake_exampleTraceback (most recent call last):File “/home/jerry/anaconda3/bin/pip”, line 7, in from pip._internal.cli.main import mainFile “/usr/lib/python3/dist-packages/pip/init.py”, line 29, in from pip.utils import get_installed_d.

2020-12-26 23:01:31 5

原创 Dog robot MPC Cotroller using Pybullet

https://github.com/google-research/motion_imitation

2020-12-26 03:41:10 157

原创 Study a linux standard Cmake file: CMakeLists.txt

cmake_minimum_required(VERSION 2.8.4)project(kalman)set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")find_package(Eigen3 REQUIRED)include_directories(${EIGEN3_INCLUDE_DIR})set(SOURCE_FILES kalman.cpp kalman-test.cpp)add_executable(kalman-test $

2020-12-26 01:55:00 53

原创 Matrix Basics in Lpzrobot

/* compile this with g++ -Wall -lm -L. -lselforg -o example matrixexample.cpp or use the Makefile*/#include <iostream>#include <math.h>#include <selforg/matrix.h>using namespace matrix;using namespace std;int main(){ /////////.

2020-12-22 20:14:42 12 1

原创 Save and load data from CSV to Eigen data

#include <iostream>#include <eigen3/Eigen/Dense>#include <fstream>#include <vector>using namespace Eigen;using namespace std;void saveData(string filename, MatrixXd matrix){ //dynamic, doubles const static IOFormat CSV

2020-12-22 18:54:31 6

原创 Intro to Eigen (eigen3/Eigen/...) C++

#include <eigen3/Eigen/Core>#include <iostream>#include <eigen3/Eigen/Dense>using namespace Eigen;using namespace std;int main(){ Matrix <float, 4 , 3> matrixA; matrixA.setOnes(); cout<< matrixA <<

2020-12-22 18:15:08 14

原创 Trail

/** track options */ TrackRobot* TrackOpt = new TrackRobot(false,false,false, track_rob); TrackOpt->conf.displayTraceDur = 2000; TrackOpt->conf.displayTraceThickness = 0.01; // 0.01 or 0. agent->setTrackOptions( *TrackOpt )

2020-12-19 00:47:45 21 1

原创 Github Useful Command

add & commit You can propose changes (add it to the Index) using git add <filename> git add * This is the first step in the basic git workflow. To actually commit these changes use...

2020-12-18 04:24:24 148

原创 Python Statement

d = {'k1':1,'k2':2,'k3':3}for item in d: print(item)>> k1>> k2>> k3# Create a dictionary view objectd.items()# Dictionary unpackingfor k,v in d.items(): v = v+1 print(k) print(v) >> k1>> 2>> k.

2020-12-15 23:51:59 26

原创 Python3 basics

a = 10type(a)a = 'I said :"stupid! 'type(a)>> strprint('Use \n to print a new line')s = 'Hello World'# Grab everything but the last letters[:-1]# Concatenate strings!s + ' concatenate me!'#We can use the multiplication symbol to create r

2020-12-15 02:37:17 92

原创 2020-12-07

3If you look into the original ResNet Paper (http://openaccess.thecvf.com/content_cvpr_2016/papers/He_Deep_Residual_Learning_CVPR_2016_paper.pdf) they use strided convolutions to downsample the image. The main path is downsampled automatically using these

2020-12-07 21:12:23 21

原创 Paper -- DenseNet:Densely Connected Convolutional Network

Abstracts:DenseNet breaks away from the fixed thinking of deepening the number of network layers (ResNet) and widening the network structure (Inception) to improve network performance. From the perspective of features, through feature reuse and bypass (By

2020-12-07 18:45:52 51

原创 Paper--Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shift

An article on batch processing, detailing the specific advantages of using BN1. The relationship between weight initialization and preprocessing methods in neural networksIf you have done the dnn experiment, you may find that preprocessing the data, such

2020-12-07 17:33:19 30

原创 Paper -- Deep Residual Learning for Image Recognition

Now, Residual Connections are everywhere: Not only in image recognition, they’re in transformers.Problem: people knew if you can increase depth pof a neural network, you can make it perform better, make it generalize better, you can reach lower training

2020-12-07 12:22:44 18

原创 2020-12-06

We need to report testset performanceWhy validation set is not enough and we need a seperate test set?We don’t strictly need a test set, it might be okay if some cases to have training and validation sets onluy, the purpose of the test set is to help us

2020-12-07 06:38:44 60

原创 Pytorch -- Fashion MNIST using feedforward neural networks

Classifying images from Fashion MNIST using feedforward neural networksimport torchimport torchvisionimport numpy as npimport matplotlib.pyplot as pltimport torch.nn as nnimport torch.nn.functional as Ffrom torchvision.datasets import FashionMNISTf

2020-12-04 06:50:50 22

原创 Pytorch MNIST Multi-layer

import torchimport torchvisionimport numpy as npimport matplotlib.pyplot as pltimport torch.nn as nnimport torch.nn.functional as Ffrom torchvision.datasets import MNISTfrom torchvision.transforms import ToTensorfrom torchvision.utils import make_g

2020-12-04 05:18:37 33

原创 Pytorch MNIST Classification with Logistic Regression Code

Image Classification with Logistic Regression Code# Uncomment and run the commands below if imports fail# !conda install numpy pytorch torchvision cpuonly -c pytorch -y# !pip install matplotlib --upgrade --quiet!pip install jovian --upgrade --quiet#

2020-12-03 23:32:29 23

原创 Pytorch-logistic-regression

Working with MNIST & Logistic Regression in PyTorch# Importsimport torchimport torchvisionfrom torchvision.datasets import MNIST# Download training datasetdataset = MNIST(root='data/', download=True)When this statement is executed for the firs

2020-12-03 23:19:11 89

原创 personal-introduction-ios-app

ViewController.swiftimport UIKitimport WebKitclass ViewController: UIViewController, WKNavigationDelegate { var webView: WKWebView! override func loadView() { webView = WKWebView() webView.navigationDelegate = self

2020-12-03 19:56:33 10

原创 Laplace Approximation:

Laplace Approximation:Fit a Gaussian to p(w|D)log p(w|D) = log p(w,D) +const wrt. wQuadratic in w if GaussianFind mode and fund 2nd derivative“Energy” E(w) = -log( p(w,D) )w* = argmin E(w) (L2 regularization term or MAP fit)Hessian Hi

2020-12-03 00:54:30 86

空空如也

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人 TA的粉丝

提示
确定要删除当前文章?
取消 删除