whoami
Ubuntu 20.04搭建OpenCV 4.5.0 & C++环境
If you have parameters in your model, which should be saved and restored in the state_dict, but not trained by the optimizer, you should register them as buffers. Buffers won’t be returned in model.parameters(), so that the optimizer won’t have a change to update them.
pip install xxx -i https://pypi.tuna.tsinghua.edu.cn/simple
最好加在文件中的第一行
import sys
sys.path.append('/path/to/your/module')
How to quick search issues involving yourselves.
在GitHub搜索中放入is:issue involves:my-username- 新建一个vdeos.txt文件,文件内容是需要合并的视频名称
- 执行ffmpeg指令
file 'test.mp4'
file 'test2.mp4'
ffmpeg -f concat -i videos.txt -c copy concat.mp4
ffmpeg -f image2 -i %d.jpeg output.mp4
ffmpeg -i input1.mp4 -r 30 -vf "fps=30" temp1.mp4 其中,-r 30 指定目标帧率为 30 帧每秒,并使用 -vf "fps=30" 过滤器确保输出视频的帧率为 30 帧每秒。
查看幻灯片的播放速度
gsettings get org.yorba.shotwell.preferences.slideshow delay
gsettings get org.yorba.shotwell.preferences.slideshow show-title
gsettings get org.yorba.shotwell.preferences.slideshow transition-delay
修改幻灯片的播放速度
gsettings set org.yorba.shotwell.preferences.slideshow delay 1
gsettings set org.yorba.shotwell.preferences.slideshow show-title true
gsettings set org.yorba.shotwell.preferences.slideshow transition-delay 0.1
source ~/anaconda3/etc/profile.d/conda.sh