• 2024-11-09ffmpeg问题解决:Unrecognized option 'preset'. Error splitting the argument list: Option not fou
    来到这里,十有八九是手动编译安装的ffmpeg,在跑视频流程序或命令时出现这个问题。跟这个报错:ffmpeg:errorwhileloadingsharedlibraries:libx264.so.164:cannotopensharedobjectfile:Nosuchfileordirectory的错误本质是一样的,都是由于ffmpeg时使用到了libx264,而在
  • 2024-09-115 levels of text splitting
    https://github.com/langchain-ai/langchain/blob/master/cookbook/Multi_modal_RAG.ipynb Inthistutorialwearereviewingthe5LevelsOfTextSplitting.Thisisanunofficiallistputtogetherforfunandeducationalpurposes.Evertrytoputalongpiece
  • 2024-08-19C. Splitting Items
    https://codeforces.com/contest/2004/problem/C总结:一开始看错题了,思维惯性的认为alice会拿前一半大的元素,bob会拿后一半大的元素。。其实不是,而是每个人都挑最大的拿voidsolve(){intn,k;cin>>n>>k;vector<int>a(n);for(auto&x:a){
  • 2024-08-17Splitting Items(Round 169)
    #include<bits/stdc++.h>#defineendl'\n'#defineintllusingll=longlong;typedefunsignedlonglongull;usingnamespacestd;voidGordenGhost();signedmain(){#ifdefGordenfreopen("in.txt","rt",stdin
  • 2024-08-05SciTech-BigDataAI-ImageProcessing-OpenCV-Splitting and Merging Channels with OpenCV
    Links:https://pyimagesearch.com/2021/01/23/splitting-and-merging-channels-with-opencv/OpenCVOfficial:https://docs.opencv.org/3.4/d3/df2/tutorial_py_basic_ops.htmlSplittingandMergingImageChannelsSometimesyouwillneedtoworkseparatelyonth