First time Google Colab --- MaskWearing YOLOv5 Test
What is ColabColab is a jupyter notebook tool provided by Google. It supports many such as Google Drive and tensorflow. It is mainly used for the development and research of machine learning. The biggest benefit of Colab is that it provides free GPU resources to AI developers, on which deep learning frameworks such as tensorflow, pytorch, and keras can be easily run.More info : https://colab.google
How to useYou can use it just like JupterBook, which provides an interactive environment for writi ...
Calculate polyline's length
用于计算三维空间中的折线长度(三维坐标由CAD快速计算器得到)
使用方法:(1)手动输入三维坐标序列(如[18100,-8425,213551][20595,-8423,213551][22438,-7827,213551])(2)点击“开始计算”即可得到对应长度
三维坐标点序列来自CAD,单位为mm,而最终结果单位为m且保留两位小数;“清空输入”只会清除坐标数据,不会清除输出结果。每次重新计算,输出数据都会被覆写;Github: https://github.com/Stephen0124/Cal_Polyline
Penduium
It’s been a long time since the last update, I am so sorry for that. Today is a special day - February 29th, which is only appears in leap years. On this day, everything seems to have a sense of ritual, that’s why I decide to update my blog(smile).Recently, I noticed a nice Python library called Penduium, whose syntax is simpler than datetime. It’s time to forget ‘datetime.datetime.fromtimestamp()‘ or something.Here’s a simple introduction.
1. Install Penduium
pip install pendulum
2. Basic fea ...
Calculate remote sensing image bands' OIF
用于计算遥感影像最佳指数因子OIF
使用方法:(1)手动输入总波段数(2)手动输入每组波段数(3)选择输入的标准差文件路径(4)选择输入的相关系数文件路径
计算的各波段标准差为请参考std_dev.csv的格式;计算的各波段相关系数矩阵请参考corr_martix.csv的格式;输出结果保存在output.csv中,正序排序;具体数据格式请参照“示例数据”文件夹中的文件,如果实在难以复现要求的格式,可以在保留原有格式的基础上修改示例数据;Please click at Cal_OIF
Solve the display-problem of Github PicBed
When I opened my blog tonight, I was surprised to find that some images failed to load and could not be displayed.Usually I use PicGo to upload images to my Github PicBed, then I will get the image-url in markdown format.Notice the return-url likes: https://cdn.staticaly.com/gh/Stephen0124/PicBed@mainI tried to change the proxy, changing it to https://cdn.jsdelivr.net/gh/Stephen0124/PicBed@mainThat’s work!Some recommend to change your PC’s host to fix this problem, but I’ve got it over with for ...
Use pyinstaller to package multiple python files
1. Using Spec FilesWhen you execute
pyinstaller options.. main.py
You can also create a spec file using this command:
pyi-makespec options [other scripts …]name.py
the first thing PyInstaller does is to build a spec (specification) file main.spec. That file is stored in the –specpath directory, by default the current directory.
The spec file tells PyInstaller how to process your script. It encodes the script names and most of the options you give to the command. The spec file is actually exe ...
Trajectory_distance
As I recently helped the teacher to write a paper whose experiment needs to calculate the similarity of the two trajectories. There are very few related Chinese information in web, of which this article has given me a lot of help. The author of the article recommends a Python module — traj_dist.
1. DescriptionTrajectory_distance(traj_dist) is a Python module for computing distances between 2D-trajectory objects. It is implemented in Cython. The author of traj_dist packed some common methods toge ...
A little introduction to My Blog
This is the first time I have tried to build a web blog independently, though it’s not perfect, still I like it. Now, I am 20 in my sophomore summer vacation, and a few weeks later I will become a junior. “Maybe it’s time to write something.” I said to myself. I know the pastoral era of the Chinese Internet has gone, but this does not mean that I should follow the bad and be afraid to show myself.Remember the past and look to the future.Hope you have fun d(`・∀・)b
This blog is based on Hexo. ...
VSCode Explorer renders folders in non-compact form
Explorer displays folders in a compact form by default
Open the settings, search for “compact”, and uncheck the first
OK, that feeling better now (^u^)
Hello World
This article was generated by Hexo. Keep for checking.
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.
Quick StartCreate a new post1$ hexo new "My New Post"
More info: Writing
Run server1$ hexo server
More info: Server
Generate static files1$ hexo generate
More info: Generating
Deploy to remote sites1$ hexo deploy
More info: Deployment
C ...