morning four the in

Can't locate Env.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl

001、问题 Can't locate Env.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl 002、解决方法 (base) [root@pc1 MaSuRCA-4.1.0]# yum -y insta ......
local perl INC usr contains

python pip Fatal error in launcher:

执行 pip 命令, 提示 Fatal error in launcher 原因: 是不是修改过python.exe 的名字。因为 pip 在生成的时候,就把 Pythone.exed绝对路径写到了文件里,而pip执行又依赖python ,所以执行报错。 系统里是否装了多个版本的python,同上一 ......
launcher python Fatal error pip

Tesla Bot All In One

Tesla Bot All In One 特斯拉机器人 创建一个通用、双足、自主人形机器人,能够执行不安全、重复或无聊的任务。 ......
Tesla Bot All One In

Exception in thread "main" org.apache.ibatis.binding.BindingException: Invalid bound statement (not found)

我报错的原因很简单mapper的interface和xml文件名字不相同导致 我的问题以及对应的解决 1.查看mapper的接口和xml文件名字是否相同 更多解决办法: 【报错解决】org.apache.ibatis.binding.BindingException: Invalid bound s ......

CodeForces 715E Complete the Permutations

洛谷传送门 CF 传送门 最小交换次数等于 \(n - \text{环数}\)。所以题目要我们统计把 \(p, q\) 补全成排列,连边 \(p_i \to q_i\),环数 \(= i\) 的方案数。 考虑把边根据 \(p_i, q_i\) 的是否已知状态分成四类: \(p \to q\) \(p ......
Permutations CodeForces Complete 715E 715

CF1710D Recover the Tree

题目链接 一个比较显然的思路就是:我们按照右端点从小到大的顺序(右端点相同按左端点从大到小)去考虑每个好的区间。 由于是连通性问题,不难想到用并查集去实时维护连通性。 根据定义,一个好的区间必定对应了一个连通块;我们考虑的是好的区间,所以当前并查集中的每个连通块必定都是一个区间。而在加入某个点前,这 ......
Recover 1710D 1710 Tree the

git pull代码时提示:Your local changes to the following files would be overwritten by merge

内容来自对 chatgpt 的咨询 这个错误提示意味着你在执行git pull命令时,Git发现你当前工作目录中的一些文件与远程仓库的变更产生了冲突。这可能是因为你在本地修改了一些文件,而远程仓库也有更新。Git不允许在有未提交的本地修改时直接执行git pull,以防止可能的冲突。 要解决这个问题 ......
overwritten following changes 代码 files

UserWarning: The parameter 'pretrained' is deprecated since 0.13 and may be removed in the future, please use 'weights' instead.解决办法

87iuiu由于ii from torchvision import models # 旧版本的写法,将在未来的torchvision 0.15版本中被Deprecated model_old = models.resnet50(pretrained=True) # deprecated model ......

CF1862G The Great Equalizer

题目链接 先不考虑修改操作。 直接模拟题目意思,可以发现最后留下的一定是最小的数字(因为相同的数每次会保留第一个)。我当时是顺着这个思路做的题目,现在想想反过来想好像会让问题变得更简单,即认为每次保留最后一个相同的数字。 那么现在每次留下的就是最后一个数字,显然每次操作会让这个数字加一,只需要考虑一 ......
Equalizer 1862G Great 1862 The

Towards Accurate Alignment in Real-time 3D Hand-Mesh Reconstruction论文解读

Towards Accurate Alignment in Real-time 3D Hand-Mesh Reconstruction论文解读 这是发表在ICCV2021的一篇文章,主要的工作内容是RGB图片中的人手重建。 Introduction 单目下的3D人手重建是计算机视觉中一个非常具有挑战 ......

Linux $PS1 and zsh All In One

Linux $PS1 and zsh All In One macOS 自定义命令行提示符 ......
Linux All PS1 One and

MongoDB and mongoose All In One

MongoDB and mongoose All In One Node.js ......
mongoose MongoDB All and One

Docker - ERROR: failed to solve: golang:latest: error getting credentials - err: exec: "docker-credential-desktop": executable file not found in $PATH, out: ``

Dockerfile: FROM golang:latest WORKDIR /app ADD . . RUN go get RUN go build -o app . CMD ["/app/app"] zzh@ZZHPC:/zdata/MyPrograms/Go/aaa$ docker build ......

All-in-One(二):硬件直通

# 简介 硬件直通简单来说就是让虚拟机直接使用物理机的硬件资源,例如网卡、显卡等。 # 配置 ## 手动启用 IOMMU 打开 PVE 的 shell 执行以下命令: ```shell # 编辑grub文件 nano /etc/default/grub # 修改GRUB_CMDLINE_LINUX_ ......
All-in-One 硬件 All One in

All-in-One(三):Openwrt

# 简介 **OpenWrt **是适用于嵌入式设备的一个 Linux 发行版。相对原厂固件而言,OpenWr t不是一个单一、静态的固件,而是提供了一个可添加软件包的可写的文件系统。这使用户可以自由的选择应用程序和配置,而不必受设备提供商的限制,并且可以使用一些适合某方面应用的软件包来定制你的设备 ......
All-in-One Openwrt All One in

All-in-One(一):PVE

# 简介 **Proxmox Virtual Environment**(简称:**Proxmox VE**、**PVE**),是一个开源的服务器虚拟化环境 Linux 发行版。Proxmox VE 基于 Debian,使用基于 Ubuntu 的定制内核,包含安装程序、网页控制台和命令行工具,并且向 ......
All-in-One All One PVE in

All-in-One(五):Ipv6暴露公网

# 简介 **网际协议第6版**(英语:**I**nternet **P**rotocol **v**ersion **6**,缩写:**IPv6**)是网际协议的最新版本,用作互联网的协议。用它来取代 IPv4 主要是为了解决IPv4地址枯竭问题,同时它也在其他方面对于 IPv4 有许多改进。 # ......
All-in-One Ipv6 All One Ipv

How to install a command once for all login users in Linux All In One

How to install a command once for all login users in Linux All In One /etc/profile & /etc/profile.d/ ......
install command Linux login users

GBLUP-RR in BGLR

来自Paulino Pérez-Rodríguez和José Crossa两位GS领域大佬的报告。 从GBLUP到RRBLUP,再到BRR理论 使用经典数据集CIMMYT wheat 599 BGLR示例 ......
GBLUP-RR GBLUP BGLR RR in

String Rearrangement in Phantom

先考虑一个 \(O(nq)\) 的暴力,令 \(s_{1}=S[l_{1},r_{1}],s_{2}=S[l_{2},r_{2}]\),令 \(t=\operatorname{rev}(s_{2})\),则我们仅需求 \(s_{1}=A+B+C,t=\operatorname{rev}(A)+B+\ ......
Rearrangement Phantom String in

'main' attribute cannot be used in a module that contains top-level code 问题解决

核心是@main 注解在main.swift 文件中,可以重新命名下 参考资料 https://stackoverflow.com/questions/73431031/swift-cli-app-main-attribute-cannot-be-used-in-a-module-that-cont ......
attribute top-level contains cannot module

Fallible point in C/C++

Operator[] The performance of [] in C and C++ is different. e.g., when you excute A[index] If A is a object, it will call the operator[] If A is a poi ......
Fallible point in

Ubuntu20.04 ping Temporary failure in name resolution问题

解决步骤 vi /etc/systemd/resolved.conf 将DNS的注释取消掉并改成8.8.8.8即可 参考:https://blog.csdn.net/weixin_43354181/article/details/105352203 ......
resolution Temporary failure Ubuntu 问题

CF842A Kirill And The Game

如果考虑 \([x,y]\) 中什么位置能乘到 \([l,r]\) 就比较麻烦,简单的做法是考虑 \(l\) 和 \(r\) 对应到 \([x,y]\) 中的位置。左边界至少是 \(\frac{l-1}{k}+1\),右边界至多是 \(\frac{r}{k}\),判断一下与 \([x,y]\) 是否 ......
Kirill 842A Game 842 And

执行docker compose up -d报错 unknown shorthand flag: 'd' in -d

执行docker compose up -d报错 unknown shorthand flag: 'd' in -d /usr/libexec/docker/cli-plugins/目录下没有docker-compose或者有docker-compose但执行docker help显示 Invali ......
shorthand compose unknown docker 39

Top 6 BMW Diagnostic Tools to Master in 2023

In the ever-evolving automotive industry, the importance of diagnostic software cannot be overstated. Specifically, for BMW vehicles, diagnostic tools ......
Diagnostic Master Tools 2023 Top

How to use a shell script to check whether a command had been installed in the Linux server All In One

How to use a shell script to check whether a command had been installed in the Linux server All In One shell script error [: :需要整数表达式 / [: -eq:需要一元表达... ......
installed command whether script server

LINQ SelectMany Method in C#

1.例子一: static void SelectMany() { //方式一:Query Syntax Console.WriteLine("方式一:Query Syntax"); List<string> nameList = new List<string>() { "Kate", "Hann ......
SelectMany Method LINQ in

[IJCAI 2023]Preventing Attacks in Interbank Credit Rating with Selective-aware Graph Neural Network

[IJCAI 2023]Preventing Attacks in Interbank Credit Rating with Selective-aware Graph Neural Network 问题 文章研究的是对银行间信用评价的攻击的预防。点是银行,边是银行间的借贷关系。 攻击方式有特征攻击 ......

模型转onnx遇到问题,报错 1. _thnn_fused_lstm_cell , 2._thnn_fused_gru_cell, 3. Exporting the operator numpy_T to ONNX opset version 11 is not supported.

目录GRULSTMExporting the operator numpy_T to ONNX opset version 11 is not supported RuntimeError: Exporting the operator _thnn_fused_lstm_cell to ONNX o ......