Python: Get A List of Different Random Numbers
作者:XD / 发表: 2020年9月8日 04:12 / 编程笔记/ 阅读量:2527
Only one line can get a list of different random numbers (sampling without replacement).
Only one line can get a list of different random numbers (sampling without replacement).
After packaging a tfrecord file, we need to check whether all the files are in the tfrecord file or not.
The memory needs to be released. But the uchar variable cannot be deleted directly after assigned mat data. Here is a trick.
C++: Get A Normal Distribution Random Number
C++: Format mat to float *
Recently, I did some data augmentation work with C++ OpenCV. Here is one example.
I want to check some papers anytime, so a sharing folder is set to display files.
With scientific mode, variables and functions are easy to check.
I was planning to upload my paper, but the size is more than 10MB. Nginx blocked the process with default settings.
为Django管理员添加上传文件功能
今天跑以前的代码突然发现Pytorch连不上GPU了,记录一下,以免下次踩坑。
第一次在阿里云部署自己的博客,前前后后用了三天,从Ubuntu, 到Anaconda, 再到Ngnix,遇到了许多配置问题。特此记录,以免下次踩坑。
总结常用的Markdown符号和语法