- 博客(11)
- 收藏
- 关注
原创 Windows install PyTorch GPU with CUDA 10.1
PyTorch without CUDA:conda install pytorch torchvision cpuonly -c pytorchPyTorch with CUDA 10.1:conda install pytorch torchvision cudatoolkit=10.1 -c pytorch
2021-01-26 06:40:26
34
原创 DevLog 2 Deep Into the eigenvectors and eigenvalues for R Matrix
R matrix is the matrix from x_t to prediction x_t+1: R = A*C +S which has the dimension of (sensor_numbers, sensor_nukmbers)Statistics:In file:A: Layer2_time1109B: Layer2_time1110C:Layer3_time1107D:Layer3_time1106A = np.array([ [1.131289, 0.2404
2021-01-24 01:07:22
18
原创 Add Speed and RelativePosition Sensors for robot in Lpzrobot
robot->addSensor(std::make_shared<SpeedSensor>(1,SpeedSensor::Translational,SpeedSensor::XYZ), Attachment(-1));robot->addSensor(std::make_shared<RelativePositionSensor>(1,1,RelativePositionSensor::XY), Attachment(0));
2021-01-19 09:02:08
16
1
原创 Cut a video in Linux using ffmpeg
ffmpeg -i hexabot2.mkv -ss 00:00:39 -t 00:02:28 -async 1 cut.mp4
2021-01-19 08:58:41
42
原创 pip export requirements.txt or yml from conda
conda list -e > requirements.txtconda env export > <environment-name>.ymlCreate full conda environment from yml file:conda env create -f .yml
2021-01-18 22:10:27
14
原创 pip install different variant
pip install -r requirements.txt# install [train] version of python package with the rllib dependenciespip install -e .[train]# make sure you can run tests (and verify they are passing)pip install -e .[test]make test
2021-01-18 20:37:43
22
原创 Dockerfile and X11 XQuartz 2.7.8 on Mac
Use XQuartz version: XQuartz 2.7.8, else it may have libGL error!set XQuartz preferences --> Security --> Tick all connectionsin /etc/ssh/sshd_configset x11forwardingto yes (there are two x11forwarding, all set from no to yes)The scripts used to.
2021-01-05 01:29:10
68
原创 C# IEnumerator and IEnumerable<double> usage
//The way to assign Matrix:First transform double[*] to double[*,*] using this ArraytoMatrix method; Matrix qq = new Matrix(Utility.ArrayToMatrix(1, reals.Length, reals)); Console.WriteLine(qq); //The right way to use a
2021-01-04 07:38:22
58
原创 use C# to do matrix manipulation for unity
using System;using System.Collections;using System.Collections.Generic;using System.IO;using LinearAlgebra.MatrixAlgebra;using LinearAlgebra.VectorAlgebra;using LinearAlgebra.LinearEquations;namespace LinearAlgebra{ class Program {
2021-01-03 23:52:41
23
1
原创 DevLog1: Saturation Prob solved with Better Results!
Saturation Problem solved with Better Results!In the original diamond controller code, the update parameter resulted by the tle error is set to default 1.0:My change of code is:'gradient'.map(g).mapP(0.1,clip)using EE = .1/(v.norm_sqr() + .001); (c
2021-01-01 23:49:04
19
空空如也
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人 TA的粉丝