Own
  • 2024-08-30【dp力扣】买卖股票的最佳时机III
    目录审题通过动态规划固定套路思考:1、定义状态表示(关键)2、推导状态转移方程(重点)对于buy(可买入股票):回顾状态表示:第一种情况:第二种情况:联立两种情况(取两种情况的最大值):​对于own(持有股票)回顾状态表示:第一种情况:第二种情况:(最终结果)联立两种情况(还是取max):3、初
  • 2024-07-31Python - Creating your own Iterator
    Inourfirstexample,wewillcreateiterableobjects,which,wheniteratedover,willgiveoutcubesofnumbers,andtheseobjectswillsupportmultipleiterations.classCubes:def__init__(self,start,stop):self.start=startsel
  • 2024-07-11[1028] Creating your very own Python library
    Ah,creatingyourveryownPythonlibrary—howexciting!
  • 2024-07-02Shell Lab: Writing Your Own Linux Shell
    18-213/18-613,Summer2024ShellLab:WritingYourOwnLinuxShellAssigned:Mon,July8,2024Due:Thurs,Mon,July22,2024at11:59PMLastPossibleHandin:Thu,July25th,2024at11:59PM1IntroductionThepurposeofthisassignmentistohelpyoubecom
  • 2024-05-04【学位英语】常用短语总结,共314个
    让我们从"abideby"开始。句子:Shealwaysabidesbytherules,evenwhennooneiswatching.这句话意思是她总是遵守规则,即使没有人在看着她。通过这个句子,你可以联想到遵守规则的重要性,从而更容易记住"abideby"这个短语。句子:Heisabsentfromthemeetingtodaydueto
  • 2024-04-26Script of Narrative Writing from different point of view
    Myfavoritestory:SoulThepointofviewofthestory:ThirdpersonpointofviewNewpointofview:FirstpersonpointofviewScript:MynameisJoeGardner.I'manordinarymiddleschoolmusicteacher.Mydailylifeisarepetitionofthesameth
  • 2024-04-19196. 删除重复的电子邮箱【Problem:Every derived table must have its own alias】
    SQL-Boy上线,最近在写SQL语句遇到了这样的问题。Problem:Everyderivedtablemusthaveitsownalias错误语句如下deletefromPersonwhereidnotin(selectidfrom(selectmin(id)asidfromPersongroupbyemail)
  • 2024-04-02L3-001 凑零钱
    一道很简单的DFS。#include<bits/stdc++.h>usingnamespacestd;intn,m,a[10010];vector<int>res;voiddfs(intstart,intown){ for(inti=start;i<n;i++){ if(own+a[i]>m)return; elseif(own+a[i]==m){ res.push_back(a[i]); intflag=0;
  • 2024-03-13Be Your Own Teacher: Improve thePerformance of Convolutional Neural Networks viaSelf Distillation
    摘要本文中,提出了一种名为自蒸馏的通用训练框架,该框架通过缩小网络的规模而不是扩大网络的规模,而提高卷积神经网络的性能。传统的知识蒸馏是一种网络之间的知识转换方法,它迫使学生神经网络接近预先训练的教师神经网络的softmax层输出,与此不同,所提出的自蒸馏框架提取网络
  • 2024-03-09Bootstrap Your Own Latent A New Approach to Self-Supervised Learning论文阅读笔记
    BootstrapYourOwnLatentANewApproachtoSelf-SupervisedLearning论文阅读笔记Abstract​ 我们提出了BYOL,一种新的自监督图像表示学习的方法。BYOL依赖于两个神经网络,即在线网络和目标网络,它们相互作用和相互学习。从一个图像的增广视图出发,我们训练在线网络来预测同一图
  • 2023-12-31SciTech-BigDataAIML-Tensorflow-Writing your own callbacks
    IntroductionApowerfulcallbackwasusedtocustomizethebehaviorofaKerasmodelduringtraining,evaluation,orinference.Examplesincludetf.keras.callbacks.TensorBoardtovisualizetrainingprogressandresultswithTensorBoard,ortf.keras.callba
  • 2023-12-10How to add your own library in MATLAB Simulink Library Browser
    https://www.youtube.com/watch?v=WxFBXEZo0VI&ab_channel=HighVoltageEngineeringbyMGNiasarhttps://ww2.mathworks.cn/help/simulink/ug/creating-block-libraries.htmlLibrariesinSimulinkMadeEasy:https://www.youtube.com/watch?v=xWmIACn5Te0&ab_channel
  • 2023-11-04如何在voj上用自己的账号提交(Submit with your own account)
    用voj交题的时候大部分情况都是voj用一个虚拟的bot账号帮你提交到对应题目所在的oj上进行判题但有些oj平台并不喜欢这种方式,它想让用户去用自己真实的账号提交,比如pta,洛谷,计蒜客......在voj上用自己的账号提交的方法如下:拿pta举例:在上图中我们发现我们需要一个叫做PTASes
  • 2023-10-12Running Large Language Models locally – Your own ChatGPT-like AI in C#
    Forthepastfewmonths,alotofnewsintechaswellasmainstreammediahasbeenaround ChatGPT,anArtificialIntelligence(AI)productbythefolksat OpenAI.ChatGPTisaLargeLanguageModel(LLM)thatisfine-tunedforconversation.Whileunderval
  • 2023-10-10leetcode122买卖股票的最佳时机——贪心、动态规划
    题目描述: 给你一个整数数组 prices ,其中 prices[i] 表示某支股票第 i 天的价格。 在每一天,你可以决定是否购买和/或出售股票。你在任何时候 最多 只能持有 一股 股票。你也可以先购买,然后在 同一天 出售。 返回 你能获得的 最大 利润 。   示例1
  • 2023-09-25the solution of Mining Your Own Business
    thedescriptionofproblem(我看的是PDF里面的原题所以这里描述会和题目不一样,但是大意一致)给定一个未必连通的无向图,问最少在几个点设置出口,可以保证任意一个点坍塌后,工人们仍然可以从出口逃生,同时问设置最少出口的方案数量。thoughts&solution我们可以知道每个连通块之
  • 2023-09-06Every derived table must have its own alias(sql语句错误解决方法)
    1、执行下面语句时,报错Everyderivedtablemusthaveitsownaliasselect*from(select*fromjt_noteswherecreateUser='b548323007b647809bb8e4192cf44195'limit0,10)2、解决方案,加一个别名就可以了select*from(select*fromjt_noteswherecreateUs
  • 2023-08-28virtual judge [Submit with your own account]
     https://vjudge.net/article/2790然后要启用开发者模式,然后就可以打开开发者工具。(Safari–Preferences呼出首选项面板(或用快捷键command+,直接呼出)。在Advanced菜单面板下,勾选ShowDevelopMenuinmenuBar。可知: Option+command+C 即可打开开发者工具)
  • 2023-08-23Training Your Own LoRAs
    https://tfwol.github.io/text-generation-webui/Training-LoRAs.html#format-filestext-generation-webuiTrainingYourOwnLoRAsTheWebUIseekstomaketrainingyourownLoRAsaseasyaspossible.Itcomesdowntojustafewsimplesteps:Step1:Makeaplan
  • 2023-07-13How to summarize?
    Whatmakesagoodsummaryofatext?1.Summariesmustbeshorterthantheoriginaltext.Youwilloftensummarisewholeparagraphs,texts,orideasinamuchshorterway.(Shorter)2.Summariesmustbewritteninyourownwords,andincludeareferencetothe
  • 2023-06-20终端运行roscore时,报错:Unable to contact my own server at...
    问题现象:问题原因:以上问题是由于ROS环境变量ROS_MASTER_URI设置错误导致的,重新设置该变量即可。解决方法:打开~/.bashrc文件,添加或修改环境变量ROS_HOSTNAME和ROS_MASTER,即改为:exportROS_HOSTNAME=localhostexportROS_MASTER_URI=http://localhost:11311修改并保存~/.
  • 2023-06-06Using kconfig for own projects
    2023-06-06   https://www.cnblogs.com/NJ-Leon/ IntroEveryLinuxprofessionalwritescripts.Someеimeslight,linear.Sometimescomplexscriptwithfunctionsandlibs(yes,youcanwriteyourbash-libraryforuseinotherscripts).Butsomeofthescrip
  • 2023-06-02Readme使用手册
    title:Readme工具使用手册categories:-手册目录ReadMe用法npx用法Windows系统使用ReadMereadme是一个自动生成readme的工具开源项目地址:https://github.com/kefranabg/readme-md-generator开源项目作者:FranckAbgrall用法npx用法Makesureyouhavenpxi
  • 2023-05-20d
    #include<iostream>usingnamespacestd;/*runthisprogramusingtheconsolepauseroraddyourowngetch,system("pause")orinputloop*/intmain(intargc,char**argv){ inta; cin>>a; if(a>95&&a<=100){ cout<<
  • 2023-04-29Tool-CMake-Own Finder(-I -L -l)-compiling
    Tool-CMake-OwnFinder(-I-L-l)-compilingWhatisafinderWhencompilingapieceofsoftwarewhichlinkstothird­partylibraries,weneedtoknow:Wheretofindthe.hfiles(­Iingcc)Wheretofindthelibraries(.so/.dll/.lib/.dylib/...)(­Lingcc