welcome tokyo to
OpenCV 和 TensorRT 之间的数据转换 HWC to CHW
TensorRT做图像相关模型部署的时候,导入图片的数据存储往往是BHWC(Batch, Height, Width, Channel), 而TensorRT推理的时候是BCHW. OpenCV 和 TensorRT 之间的数据转换(BHWC to BCHW),一般是所有元素遍历赋值: cv::Ma ......
flutter开发Nuget.exe not found, trying to download or use cached version解决方法
问题:Nuget.exe not found, trying to download or use cached version 解决方法: 1. 首先确保Visual Studio安装,这个是flutter构建Window应用必须的,并且安装了对应的Windows SDK,通过Visual Stu ......
【Oracle】Resize your Oracle datafiles down to the minimum without ORA-03297
--In non-multitenant DB set linesize 1000 pagesize 0 feedback off trimspool on with hwm as ( -- get highest block id from each datafiles ( from x$ktfb ......
An attempt has been made to start a new process before the current process has finished its bootstrapping phase.
Traceback (most recent call last): File "<string>", line 1, in <module> File "E:\Eprogramfiles\Anaconda3\lib\multiprocessing\spawn.py", line 116, in s ......
Generative AI 新世界 | 走进文生图(Text-to-Image)领域
在之前的四篇 “Generative AI 新世界” 中,我们带领大家一起探索了生成式 AI(Generative AI),以及大型语言模型(LLMs)的全新世界概览。并在文本生成(Text Generation)领域做了一些概述、相关论文解读、以及在亚马逊云科技的落地实践和动手实验。 亚马逊云科技 ......
关于创建endpoint报错-Enabling private DNS requires both enableDnsSupport and enableDnsHostnames VPC attributes set to true for vpc-xxxx
今天在为某个vpc创建endpoint时(com.amazonaws.cn-northwest-1.ssm的Interface类型)时报如下错误及提示 Enabling private DNS requires both enableDnsSupport and enableDnsHostnames ......
Python使用to_csv导出文件时参数注意事项
使用to_csv导出文件时,一定要指定index参数和encoding参数这两个参数; index参数:默认为True,会添加一列标记数据索引。 encoding参数:如果不指定utf_8_sig,使用默认参数值,则导出的文件可能会有乱码或串列。 cake_data.to_csv(r"C:\E\da ......
linux - 报错 Another app is currently holding the yum lock; waiting for it to exit... -解决
报错截图 执行指令 rm -f /var/run/yum.pid 然后再执行需要的指令即可 ......
To do list
[toc] # 导言 干脆把 To do list 也放到这里了。督促自己学习。很菜。轻喷。 # 2023 May ## 2023.5.29 Mon - 1 速通电学 https://www.bilibili.com/video/BV13J411F7gk - 2 dp练习0x10 https://w ......
Burp Suite Error The client failed to negotiate a TLS connection to chrome.google.com: 443: Received fatal alert: certificate_unknown
Burp Suite Error The client failed to negotiate a TLS connection to chrome.google.com: 443: Received fatal alert: certificate_unknown http://burpsuite ......
[论文速览] MAGE@MAsked Generative Encoder to Unify Representation Learning and Image Synthesis
## Pre title: MAGE: MAsked Generative Encoder to Unify Representation Learning and Image Synthesis accepted: CVPR2023 paper: https://arxiv.org/abs/221 ......
解决 Failed to connect to github.com port 443:connection timed out
晕了,今天不知道怎么出现了这个问题 ``` git config --global http.proxy http://127.0.0.1:1080 git config --global https.proxy http://127.0.0.1:1080 ``` 问题得到解决 取消代理 ``` g ......
python -- 解决连接sqlserver出现的“ pymssql._pymssql.OperationalError: (20009, b'DB-Lib error message 20009, severity 9:\nUnable to connect: Adaptive Server is unavailable or does not exist”问题
因为工作关系,近期需要用python连接sqlserver处理一些数据问题。 由于笔记本上的软件是新安装的,所以有些配置避免不了重新设置,期间遇到一些小问题,记录一下。 下面正式开始 写一段代码,测试sqlserver数据库连接 import pymssql # 写法1# conn = pymssq ......
动态路由 出现 for supported dynamic import formats. If this is intended to be left as-is, you can use the /* @vite-ignore */ comment inside the import() call to suppress this warning.
for supported dynamic import formats. If this is intended to be left as-is, you can use the /* @vite-ignore */ comment inside the import() call to sup ......
How to boot the Raspberry Pi system from a USB Mass Storage Device All In One
How to boot the Raspberry Pi system from a USB Mass Storage Device All In One
如何从 USB 启动树莓派引导系统 / 如何从 USB 大容量存储设备启动 Raspberry Pi 系统 ......
Webpack and Babel — What are they, and how to use them with React
摘抄自:https://medium.com/@agzuniverse/webpack-and-babel-what-are-they-and-how-to-use-them-with-react-5807afc82ca8 Webpack and Babel — Tools we can’t cod ......
org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 16 in the jsp file: /monday-01.jsp
``` org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 16 in the jsp file: /monday-01.jsp System.out canno ......
How to Control an External USB Web Camera Using a Raspberry Pi All In One
How to Control an External USB Web Camera Using a Raspberry Pi All In One
如何使用树莓派控制外接 USB 网络摄像头
......
From Java To Kotlin:空安全、扩展、函数、Lambda很详细,这次终于懂了
Kotlin 是一种静态类型的编程语言,由 JetBrains 开发。它可以编译成 Java 字节码,也可以编译成 JavaScript 代码。Kotlin 具有现代化的语法和功能,可以与 Java 互操作,并且可以在 Android 开发中使用。
Kotlin 的语法简洁、易读、易写,具有许多现代... ......
End-to-End Object Detection with Transformers论文阅读笔记
## 摘要 作者提出了一种新的基于Transformer的目标检测模型DETR,将检测视为集合预测问题,无需进行nms以及anchor generation等操作。同时,对模型进行简单的修改就可以应用到全景分割任务中。 ## 方法 ### Object detection set predictio ......
webpack报错处理:The extension in the request is mandatory for it to be fully specified.
完整的报错提示如下: BREAKING CHANGE: The request './module2' failed to resolve only because it was resolved as fully specified(probably because the origin is s ......
MySQL OEM报警Increase the binlog_cache_size variable dynamically and monitor the ratio of Binlog_cache_disk_use to Binlog_cache_use .
Increase the binlog_cache_size variable dynamically and monitor the ratio of Binlog_cache_disk_use to Binlog_cache_use . When it reaches an acceptable ......
how to strip debug info
compile: ``` c++ -g tmp.cc -o starrocks_be ``` split debug info ``` objcopy --only-keep-debug starrocks_be starrocks_be.debug strip --strip-debug star ......
[论文速览] RectifiedFlow@Flow Straight and Fast{colon}Learning to Generate and Transfer Data with Rectified Flow
## Pre title: Flow Straight and Fast: Learning to Generate and Transfer Data with Rectified Flow accepted: ICLR 2023 paper: https://arxiv.org/abs/2209 ......
How to fix CMake error Could not find a package configuration file provided by “boost_filesystem”
CMake Error at /usr/lib/x86_64-linux-gnu/cmake/Boost-1.71.0/BoostConfig.cmake:117 (find_package): Could not find a package configuration file provided ......
failed to run Kubelet: validate service connection: CRI v1 runtime API is not implemented for endpoint
kubelet 1.27.0 ubuntu 20.04.6 kubeadm init ..... 异常 zxnl@zxnl-VirtuaBox:~# kubeadm init \ > --image-repository registry.aliyuncs.com/google_containers ......
value too long for type character(8) Call getNextException to see other errors in the batch.
 **字段内容超过数据库字段设置的长度导致的插入错误的提示信息** 如何定位是哪个字段长度不够长? mysql的话 ......
django之对FileField字段的upload_to的设定
用django开发,经常要处理用户上传的文件, 比如user模型里面如果又个人头像的字段 ImageField等等,而django在FielField字段(包括ImageField)的支持和扩展是做的很好的,首先一个问题,是上传的文件,django是放到哪里去了,(note: 文件流是不会放到数据库 ......
How to change the default Python2 to Python3 on Linux All In One
How to change the default Python2 to Python3 on Linux All In One
在 Linux 中如何把默认的 Python2 更改为 Python3
.bashrc / .zshrc alias
symbolic link 符号链接
......
K8S异常之Unable to connect to the server: x509: certificate has expired or is not yet valid【转】
一、问题:k8s证书过期 [root@nb001 ~]# kubectl get node Unable to connect to the server: x509: certificate has expired or is not yet valid: current time 2022-12 ......