上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 18 下一页
摘要: sudo fallocate -l 4G /var/swapfile sudo chmod 600 /var/swapfile sudo mkswap /var/swapfile sudo swapon /var/swapfile 此时从jtop查看,swp从2.1GB变成6.1GB, 但重启后又变 阅读全文
posted @ 2021-05-20 13:22 略略略—— 阅读(1593) 评论(0) 推荐(0) 编辑
摘要: (sudo) jtop 安装命令: sudo pip3 install jetson-stats jtop命令还可以查看CPU和GPU的实时使用数据。 (参考:https://www.jianshu.com/p/497a9f6e34fd) 或者: sudo apt-cache show nvidia 阅读全文
posted @ 2021-05-14 13:02 略略略—— 阅读(2709) 评论(0) 推荐(0) 编辑
摘要: TM_CCOEFF 的全称是: Correlation coefficient 根据维基百科: 再参照opencv文档: 可以得出, T' 和 I' 后面那一串减掉的东西就是T和I的均值, 只是用了不同的下标和前面区分,他们并不是方差或者是微分。 参考: https://docs.opencv.or 阅读全文
posted @ 2021-05-11 15:33 略略略—— 阅读(830) 评论(0) 推荐(0) 编辑
摘要: 问题一: numba.errors.UntypedAttributeError: Failed at nopython (nopython frontend)Unknown attribute 'fill' of type array(float64, 2d, C) 经过查阅以下文档: numba. 阅读全文
posted @ 2021-05-08 14:12 略略略—— 阅读(14079) 评论(0) 推荐(1) 编辑
摘要: 1 import cv2 2 import os 3 4 dir = r"F:\wenjian\trainingData_3.3\VideoData" 5 6 for eachVid in os.listdir(dir): 7 # vPath = dir + "\\" + eachVid 多个视频 阅读全文
posted @ 2021-04-20 13:57 略略略—— 阅读(2338) 评论(0) 推荐(0) 编辑
摘要: return vector<string>(); 或者:(C++11) return {}; 参考:https://stackoverflow.com/questions/24175507/return-an-empty-vector-c 阅读全文
posted @ 2021-04-13 15:04 略略略—— 阅读(3866) 评论(0) 推荐(0) 编辑
摘要: 509.斐波那契数 题解1:(暴力递归) class Solution { public: int fib(int n) { if(n==0) return 0; if(n==1) return 1; return fib(n-1)+fib(n-2); } }; 题解2:(备忘录) class So 阅读全文
posted @ 2021-04-11 15:49 略略略—— 阅读(408) 评论(0) 推荐(0) 编辑
摘要: add the following code to './torch2trt/torch2trt/plugins/NvInfer.h' https://drive.google.com/file/d/1dIAiFoU7ROkLVw5OA5ezYifA-F77z6NE/view?usp=sharing 阅读全文
posted @ 2021-04-01 15:22 略略略—— 阅读(213) 评论(0) 推荐(0) 编辑
摘要: add the following code to './trt_pose/plugins.py' # encoding: utf-8 # module trt_pose.plugins # from /usr/local/lib/python3.6/dist-packages/trt_pose-0 阅读全文
posted @ 2021-04-01 15:08 略略略—— 阅读(427) 评论(1) 推荐(0) 编辑
摘要: File "/usr/local/lib/python3.6/dist-packages/torch2trt-0.1.0-py3.6-linux-x86_64.egg/torch2trt/torch2trt.py", line 419, in _on_state_dict state_dict[pr 阅读全文
posted @ 2021-03-30 13:18 略略略—— 阅读(3324) 评论(0) 推荐(0) 编辑
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 18 下一页