草庐IT

reset_warning_registry

全部标签

首次使用 git 克隆仓库报错:Warning: Permanently added‘github.com’ to the .....(ssh )

问题:        首次使用idea导入git项目出现:warning:Permanentlyadded'gitee.com'(ED25519)tothe1istofknownhosts.ssh_dispatch_run_fata1:connectionto.... 解决方法:    1.新建空文件夹->右键->点击 GitBashHere    2. 输入cdC:    3.输入cat~/.ssh/id_rsa.pub    4. 输入 ssh-keygen    重复回车,生成一个矩形,则说明公钥已经生成了。重复步骤3,生成publickey,右键“copy”复制    5.再次输入  

warning: setUpNet DNN module was not built with CUDA backend; switching to CPU错误解决

问题描述利用opencv-python的dnn模块调用yolo3模型进行目标检测的时候,根据网上的教程,加入GPU加速,也就是加入如下的两行代码:net.setPreferableTarget(cv::dnn::DNN_TARGET_CUDA);net.setPreferableBackend(cv::dnn::DNN_BACKEND_CUDA);但是在运行之后,出现了这样的提示:warning:setUpNetDNNmodulewasnotbuiltwithCUDAbackend;switchingtoCPU原因分析:这说明GPU没被用上,原因是OPENCV在安装的时候,没有安装支持CUDA

warning: in the working copy of ‘App.vue‘, LF will be replaced by CRLF the next time Git touches it

问题gitadd.一大串的warningwarning:intheworkingcopyof'App.vue',LFwillbereplacedbyCRLFthenexttimeGittouchesitwarning:intheworkingcopyof'pages.json',LFwillbereplacedbyCRLFthenexttimeGittouchesitwarning:intheworkingcopyof'pages/cart/cart.vue',LFwillbereplacedbyCRLFthenexttimeGittouchesitwarning:intheworkingco

npm install:npm WARN deprecated core-js@2.6.12: core-js@<3.23.3 is no longer maintained and not reco

运行npminstall报错:npmWARNdeprecatedcore-js@2.6.12:core-js@字面意思是版本过低不维护,但是使用如下命令还是报错:npmicore-js 正确方法:安装淘宝镜像:npmconfigsetregistry https://registry.npm.taobao.org(根本原因:npm是国外的,没配置代理就默认用国外的镜像源 ,国内访问国外肯定访问不同)然后npminstall就OK啦!

【已解决】git 撤销上次提交后修改文件再次提交 触发:Cannot do a soft reset in the middle of a merge

文章目录一、问题二、解决记录一次git操作一、问题git撤销上次提交后修改文件,然后同步触发以下命令及报错(报错来源与git输出面板)同步包含两步:pullpushgitpullerror:Pullingisnotpossiblebecauseyouhaveunmergedfiles.hint:Fixthemupintheworktree,andthenuse'gitadd/rm'hint:asappropriatetomarkresolutionandmakeacommit.fatal:Exitingbecauseofanunresolvedconflict.此次合并未处理(变更记录未覆盖任

Warning: Grad strides do not match bucket view strides pytorch利用DDP报错

遇到报错:[Wreducer.cpp:362]Warning:Gradstridesdonotmatchbucketviewstrides.Thismayindicategradwasnotcreatedaccordingtothegradientlayoutcontract,orthattheparam’sstrideschangedsinceDDPwasconstructed.Thisisnotanerror,butmayimpairperformance.机翻:警告。梯度与桶状视图的梯度不一致。这可能表明grad没有按照梯度布局合同创建,或者参数的步长在DDP构建后发生了变化。这不是一个

01、spdlog源码阅读——registry注册表

注册表具有唯一标识,用于管理多个日志//Copyright(c)2015-present,GabiMelman&spdlogcontributors.//DistributedundertheMITLicense(http://opensource.org/licenses/MIT)#pragmaonce//Loggersregistryofuniquename->loggerpointer//Anattempttocreatealoggerwithanalreadyexistingnamewillresultwithspdlog_exexception.//Ifuserrequestsano

WARNING: Running pip as the ‘root‘ user can result in broken permissions

WARNING:Runningpipasthe‘root’usercanresultinbrokenpermissionsandconflictingbehaviourwiththesystempackagemanager.Itisrecommendedtouseavirtualenvironmentinstead:https://pip.pypa.io/warnings/venv解决方法如下,依次运行下面的两个代码,第一个是先验条件,第二个代码块是自己要实现的目标。#The--root-user-actionoptionisavailableasofpipv22.1.pipinstall--

解决vue项目build的时候报错Warning: Accessing non-existent property ‘cat‘ of module exports inside circular de

 * 正在执行任务:npmrunbuild >selection-tool@1.0.0build>nodebuild/build.js-buildingforproduction...(node:8992)Warning:Accessingnon-existentproperty'cat'ofmoduleexportsinsidecirculardependency(Use`node--trace-warnings...`toshowwherethewarningwascreated)(node:8992)Warning:Accessingnon-existentproperty'cd'ofm

ubuntu warning: gpg (GnuPG) is not available. 解决办法

warning:gpg(GnuPG)isnotavailable.warning:Installingitisstronglyencouraged.fatal:cannotmake/home/xxxx/work/dove13/.repo/repodirectory:Fileexkkkkcom@kkkkcom-virtual-machine:/snap/bin$ls-lrepolrwxrwxrwx1rootroot135月1609:38repo->git-repo.repokkkkcom@kkkkcom-virtual-machine:/snap/bin$ls-lgit-repo.repolrw