笔记
jerry173985
这个作者很懒,什么都没留下…
展开
-
WSL2 X410 glx OpenGL error
List itemX Error of failed request: GLXBadContextMajor opcode of failed request: 147 (GLX)Minor opcode of failed request: 6 (X_GLXIsDirect)Serial number of failed request: 24Current serial number in output stream: 23|| ORGot an X11ErrorHandli.原创 2021-09-23 13:07:00 · 618 阅读 · 0 评论 -
Start up problem linux
press esc in 1 seconds to skip startup.nsh any other key to continuetype:exit原创 2021-08-06 18:12:17 · 1085 阅读 · 0 评论 -
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 · 154 阅读 · 0 评论 -
Scan network mac command
if configarp - a原创 2021-01-25 05:45:32 · 179 阅读 · 0 评论 -
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 · 141 阅读 · 0 评论 -
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 · 254 阅读 · 0 评论 -
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 · 98 阅读 · 0 评论 -
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 · 262 阅读 · 0 评论 -
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 · 111 阅读 · 0 评论 -
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 · 623 阅读 · 0 评论 -
change read-only to write
how to change Mac read-only file permission:Restart in Recovery mode (Command-R at startup), open Terminal (from the Utilities menu), and disable SIP filesystem protection with:csrutil enable --without fsRestart normally, open Terminal, and remount the原创 2020-08-12 17:36:01 · 190 阅读 · 1 评论 -
np issues!!
values = np.array([Q[state,a] for a in actions])don’t forget this [] inside np.array()!!原创 2020-08-05 18:20:00 · 68 阅读 · 0 评论 -
google colab on yolov4:
google colab on yolov4:https://darknet.gong.im/原创 2020-08-03 05:52:19 · 116 阅读 · 0 评论 -
Install lpzrobot--ode(open dynamics engine)
Install ode (open dynamic engine) first !!!—- latest(2017) version原创 2020-08-01 21:48:54 · 538 阅读 · 0 评论 -
yolov4我的dataset
yolov4 有的dataset课程的ball messi—用conv.137 transfer learningdrone github的头盔。csdn搜到的原创 2020-07-30 22:38:00 · 238 阅读 · 0 评论 -
Raspberry pi 4 install Opencv on python3
Difficulty:After installing tensorflow using virtualenv, we cannot install opencv in the same virtual environment using:pip3 install python3-opencvwill result in command not foundthen I searched pypip.com for wheel for opencv with aarch64, result in原创 2020-07-08 12:22:42 · 259 阅读 · 0 评论