39

【五期李伟平】CCF-B(PR'12)Feature evaluation and selection with cooperative game theory

Xin, S. , et al. "Feature evaluation and selection with cooperative game theory." Pattern Recognition 45.8(2012):2992-3002. 基于合作博弈寻找最优特征子集,重点解决传统基于信息论 ......

Anaconda ImportError: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found

尝试把conda下的移过去,但没有权限,操作失败 方法 参考 export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/your/path/to/conda/env/lib ......
ImportError Anaconda GLIBCXX libstdc version

今日报告-39

今日打卡 所花时间(包括上课):3h 代码量(行):100 发表博客:1篇(不包括本篇) 学习进度和了解到的知识点: 今天继续学习了Python爬虫的知识,为之后的参赛选题做准备。主要的核心知识在于文字识别,图片识别,表格识别等知识, 需要用到人工智能等知识。 ......
报告 39

What's the Client_Credentials grant type?

What's the Client_Credentials grant type? The Client Credentials grant type is a type of OAuth2 authentication flow that enables a client to authentic ......

mysqldump: Couldn't execute 'SELECT COLUMN_NAME, JSON_EXTRACT(HISTOGRAM, '$."number-of-buckets-specified"')

mysqldump 远程导数据库表结构的时候,报错: Warning: A partial dump from a server that has GTIDs will by default include the GTIDs of all transactions, even those that ......

linux运行shell脚本报错,提示syntax error near unexpected token `$'{\r''异常

最近运行一个shell脚本的时候,发现报syntax error near unexpected token `$’{\r’’ error。字面意思上看是换行符出现问题 用vim -b 查看,发现每一行多了~M解决方法:sed -i 's/\r//g' xxx.sh这样脚本就可以运行了——————— ......
脚本 unexpected 39 syntax linux

postgresql使用SQL根据schema获取表名、表注释,使用obj_description(relfilenode,'pg_class')获取注释部分为空的解决办法

postgresql使用SQL根据schema获取表名、表注释,使用obj_description(relfilenode,'pg_class')获取注释部分为空; 网上大部分使用这个SQL,无法正确获取全部表注释: select relname as tabname,cast(obj_descri ......

nvcc fatal : Unsupported gpu architecture 'compute_80' ninja: build stopped: subcommand failed.

问题描述 3090显卡,运行示例代码报错。 解决方法 export PATH="$PATH:/usr/local/cuda/bin/nvcc" ......

What's load testing?

What's load testing? Load testing is a type of software testing that is conducted to measure how well a system can handle a specific amount of load or ......
testing What load 39

git push 出现fatal: unable to access 'http://xxx': The requested URL returned error: 403

问题: cch:requsetDatas leo$ git push origin master remote: Permission to bbb/requsetDatas.git denied to aaa. fatal: unable to access 'https://github.com ......
requested returned access unable fatal

nodejs连接mysql报错:throw err; // Rethrow non-MySQL errors TypeError: Cannot read property 'query' of undefined

该问题的解决方案如下: win+R 输入cmd mysql -u root -p 输入密码进入到mysql 3.执行sql语句,将密码改成123456(自己可以记住的密码即可) alter user 'root'@'localhost' identified with mysql_native_pa ......

error TS2339: Property '$route' does not exist on type

<template> <div id="app"> <router-view v-slot="{ Component }"> <keep-alive> <component :is="Component" :key="$route.name" v-if="$route.meta.keepAlive" ......
Property error route exist 2339

Whats's New In Seata 1.6.x

Seata 是一款开源的分布式事务解决方案,star 高达 23000+,社区活跃度极高,致力于在微服务架构下提供高性能和简单易用的分布式事务服务,本文将剖析 Seata 1.6.x 版本的核心特性,让用户对 Seata 有更深入的认识。 ......
Whats Seata New 39 In

TypeError: Cannot read property 'resetUpScroll' of null

在onshow中使用mescroll-body组件this.mescroll.resetUpScroll()方法会报错,延迟50秒会正常 这个报错通常是由于在onShow生命周期中访问某些组件的属性或方法时,这些组件尚未完全初始化所导致的。 延迟50毫秒后调用resetUpScroll方法可能是因为 ......
resetUpScroll TypeError property Cannot 39

execjs UnicodeEncodeError: 'gbk' codec can't encode character '\xff' in position 23995: illegal multibyte sequence

import subprocess # 创建一个新的 Popen 类,并继承自 subprocess.Popen class MySubprocessPopen(subprocess.Popen): def __init__(self, *args, **kwargs): # 在调用父类(即 sub ......

NameError: name 'tf' is not defined

NameError: name 'tf' is not defined 报错如下: /opt/conda/lib/python3.6/site-packages/tensorflow/python/keras/layers/core.py in <lambda>(x) 307 It defaults ......
NameError defined 39 name not

python 特定位置新建文件报错:PermissionError: [Errno 13] Permission denied: '1.txt'

先将指定位置设定为当前目录 import os os.chdir('E:\qi') with open("1.txt", "w") as f: f.write(jsonCookies) ......

Linux系列---【The authenticity of host 'node01 (192.168.1.200)' can't be established.】

#报错信息 我在设置免密登录的时候报了下面的错 /usr/bin/ssh-copy-id: INFO: Source of key(s) to be installed: "/root/.ssh/id_rsa.pub" The authenticity of host 'node01 (192.16 ......
authenticity established 39 Linux host

使用flask中flask_script时,报错:ModuleNotFoundError: No module named 'flask._compat'的解决方法

方法1:降级版本 pip install "Flask==1.1.4"pip install "werkzeug==1.0.1" 方法2:不降级版本: 可以尝试修改一下flask_script/__init__.py中from ._compat import text_type 改成 from fl ......

Brian Kernighan's 算法

##介绍 Brian Kernighan's 算法是一种用于计算一个整数的二进制表示中有多少个1的高效算法。该算法的基本思想是每次将该整数的最右边的一个1置为0,直到该整数变为0为止。每次将1置为0的操作都会使得该整数的二进制表示中的1的个数减少1。 int count_set_bits(int n ......
算法 Kernighan Brian 39

How to 'apt-get install python-opengl' on Ubuntu22.04

ImportError: Error occurred while running `from pyglet.gl import *` HINT: make sure you have OpenGL install. On Ubuntu, you can run 'apt-get install p ......
python-opengl apt-get install Ubuntu python

Fatal error in launcher: Unable to create process using '"d:\software\python\python.exe"

Fatal error in launcher: Unable to create process using '"d:\software\python\python.exe" 问题发生: 是由于python 切换环境导致的。 本来python 放在D盘software 的python 中直接放置了 ......
python quot launcher software process

Coinc1dens's lessons for cryptography beginner

Coinc1dens's lessons for cryptography beginner 10分题懒得写,赛后浅写一下(有些还真写不出来)太屑了 古典懒得写,相信都写的出来 1.child exgcd i 即为m在模p情况下的乘法逆元,反着求i在模p下的乘法逆元即可。 2.child_quadr ......

[FastAPI-39]项目代码结构

代码结构 ── sql_app ├── main.py # 程序入口 ├── crud.py # 增删查改的方法 ├── database.py # 数据库相关 ├── models.py # ORM模型类相关 └── schemas.py # Pydantic的BaseModel,校验相关 ......
FastAPI 结构 代码 项目 39

mac os上python报错 fatal error: 'Python.h' file not found

1. 安装python (可安装任意版本) brew install python@3.9 2. 创建虚拟环境 cd ~ /opt/homebrew/bin/python3.9 -m venv ai3.9 3. 激活虚拟环境 source ~/ai3.9/bin/activate 4. 安装 pip ......
Python python fatal error found

elementui重置表单 this.$refs['form'].resetFields()

this.$refs['form'].resetFields()这个做法其实是重置表单到初始值,不是清空表单,当表单第一次在页面中渲染时所用的数据就是初始数据。 dialog嵌套表单时,如果先选择编辑,填充了数据,那么每次resetFields()都是填充第一次选择编辑的值。 this.$refs[ ......
表单 resetFields elementui 39 this

=Required reguest parameter 'min' for method parameter type Integer is not present

出现这个错具体原因就是你前端的数据没有传到后端 后端只要就看你的注解有没有写对 controller层的get请求是@QequestParam 绝大部分就是前端的原因 前端没有把数据传过了 或者传过来的数据等于null 都会报这个错 ......
parameter Required Integer reguest present

Kubernetes集群(五)——Cert-manager与Let'sencrypt证书自动管理

1. Cert-manager安装 1.1. 安装自定义crd资源 kubectl apply -f https://github.com/cert-manager/cert-manager/releases/download/v1.11.0/cert-manager.crds.yaml 1.2. ......

解决vscode由于sys.path.insert(0, './utils/')导致无法转定义问题

由于代码用到了当前utils文件夹下的文件里面函数。 from xml_utils import load_xml_and_parse_new 这里xml_utils是utils文件夹下的xml_utils.py。 然后无法转定义很是麻烦,搞了半天没找到方法,然后当我把鼠标放在波浪号上面的时候会显示 ......
vscode insert 问题 utils path

浏览器低版本兼容问题 解决可选链'?.'和双问号'??'

一次项目开发中,我本地浏览器没有任何问题,但是客户那边经常会有人打开页面就白屏,我这边也看不到报错,这种个别人必现问题,我就定位到是浏览器版本问题了。 一问他们版本 一个46,一个74。这是多么老的版本啊,让他么升版本,死活不升。 说是他们有什么东西需要U盾之类的东西,升了用不了,那好吧,客户至上, ......
39 问号 浏览器 版本 问题