learning summary second the

printk - The standard C library routine printf()

如下库我试过,只用定义下out_char函数即可,重定向一下 out_char 1 /* 2 * File: printk.c 3 * Purpose: The standard C library routine printf(), but without 4 * all the baggage. ......
standard library routine printk printf

Nginx_启动时报错:Job for nginx.service failed because the control process exited with error code. See "systemctl stat

一、报错如下Job for nginx.service failed because the control process exited with error code. See "systemctl status nginx.service" and "journalctl -xe" for d ......
systemctl 时报 because control service

2018 ICPC Asia Qingdao (The 1st Universal Cup, Stage 9)

![image](https://img2023.cnblogs.com/blog/2794497/202305/2794497-20230522180936589-2071634768.png) # E 看完题想到二分答案直接一步步贪心,没多想直接和队友说了下,感觉贪心会有点问题,放了一会后冷静分 ......
Universal Qingdao Stage 2018 ICPC

2023CVPR_Learning a Simple Low-light Image Enhancer from Paired Low-light Instances(PairLIE)

1、nn.ReflectionPad2d 对输入图像以最外围像素为对称轴,做四周的轴对称镜像填充。 大佬链接:(14条消息) torch.nn.ReflectionPad2d()的用法简介_nn.reflectionpad2d(1)_啊菜来了的博客-CSDN博客 # 对四周都填充3行 nn.Refl ......
Low-light light CVPR_Learning Instances Low

Learning Affinity from Attention: End-to-End Weakly-Supervised Semantic Segmentation with Transformers概述

0.前言 相关资料: arxiv github 论文解读 论文基本信息: 领域:弱监督语义分割 发表时间: CVPR 2022(2022.3.5) 1.针对的问题 目前主流的弱监督语义分割方法通常首先训练分类模型,基于类别激活图(CAM)或其变种生成初始伪标签;然后对伪标签进行细化作为监督信息训练一 ......

learn c++ 智能指针

#include <iostream> int main() { int* p; { std::unique_ptr<int[]> a{std::make_unique<int[]>(50)}; a[2] = 240; p = a.get(); std::cout << p[2]; } std::c ......
指针 智能 learn

RuntimeError: The size of tensor a (7375) must match the size of tensor b (6776) at non-singleton dimension 0

报错的代码位置: 1. 1 File "F:\recommend experience\doing\modeldemo.py"中的: 2 3 self.user_dgi_feat = self.dgi.encoder(self.user_feat_sp_tensor).detach() 2. Fil ......

踩坑:nacos启动报错提示需要设置JDK环境 ,报错:ERROR: Please set the JAVA_HOME variable in your environment, We need java(x64)! jdk8 or later is better! !!

换了个Windows11的新电脑,因为个人工作、学习需要,就重新下载了Nacos并解压使用,结果就踩了个坑,使用下面命令启动Nacos服务端时: startup.cmd -m standalone 直接在黑窗口提示:ERROR: Please set the JAVA_HOME variable i ......
environment JAVA_HOME variable 环境 Please

Summary - 分治

本文旨在总结数种分治算法。 1.区间分治:当需要对所有区间统计答案时,可以考虑这种分治。具体来说,在处理$[l,r]$内的所有区间时,分三类考虑:跨过$mid$的,完全在$mid$左边的,完全在$mid$右边的。如果可以$O(m)$或$O(m\log m)$处理第一类情形($m=r-l+1$),然后 ......
Summary

Sep 2022-Prioritized Training on Points that are Learnable, Worth Learning, and Not Yet Learnt

提出了Reducible Holdout Loss Selection (RHOLOSS),一种简单但有原则的技术,近似地选择那些最能减少模型泛化损失的点进行训练 ......

C-pointer Learning

# 基础 ## 指针类型 ### 静态/全局内存 指在内存空间中的全局/静态数据区的指针变量 ### 自动内存 即局部作用域的指针,只有在函数被调用时才创建。 ### 动态内存 在堆区动态创建的指针变量,在不使用时需要即是释放该部分内存空间。 ## 特殊指针 ### NULL指针 在指针变量中,初始 ......
C-pointer Learning pointer

learn c++ 变量作用域

#include <iostream> int a{ 100 }; int main() { int a{160}; { std::cout << a << std::endl; char a = 'a'; std::cout << a << std::endl; std::cout << ::a ......
变量 作用 learn

CF1824D LuoTianyi and the Function【线段树】

给定长为 $n$ 的数组 $a$,如下定义 $g(i,j)$:当 $i \leq j$ 时,$g(i,j)$ 是满足 $\{ a_p : i \leq p \leq j \} \subseteq \{a_q : x \leq q \leq j\}$ 的最大整数 $x$。否则 $g(i,j) = 0$ ......
线段 LuoTianyi Function 1824D 1824

Minio预览图片报错:The Access Key Id you provided does not exist in our records.

一、错误信息 <Error> <Code>InvalidAccessKeyId</Code> <Message>The Access Key Id you provided does not exist in our records.</Message> <Key>34e20ef0681345c1b ......
provided records Access 图片 Minio

Off-Policy Deep Reinforcement Learning without Exploration

**发表时间:**2019(ICML 2019) **文章要点:**这篇文章想说在offline RL的setting下,由于外推误差(extrapolation errors)的原因,标准的off-policy算法比如DQN,DDPG之类的,如果数据的分布和当前policy的分布差距很大的话,那就 ......

Check the tbs' usage in PDB and CDB

check out the tbs's usage in PDB and CDB , run in CDB set line 200 pages 999 column name for a10 column tablespace_name for a15 column "MAXSIZE (GB)" ......
Check usage CDB the tbs

Oracle migrate the users into another DB instance

-- ###############OnSource################### create or replace procedure pr_user_ddl as cursor get_username is select username from dba_users where u ......
instance migrate another Oracle users

permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get "http://%2Fvar%2Frun%2Fd dial unix /var/run/docker.sock: connect: permission denied

001、普通用户操作docker遇到如下问题 permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get "http://%2Fvar%2Frun% ......
permission connect denied docker sock

Uva--699 The Falling Leaves,(二叉树的递归遍历)

**记录** 10:46 2023-5-20 http://uva.onlinejudge.org/external/6/699.html reference:《算法竞赛入门经典第二版》例题6-10 二叉树的层次遍历,边读边写(这些题给我感觉是非常灵活),对每个节点需要的数据就是在sum数组的位置 ......
Falling Leaves Uva 699 The

1094 The Largest Generation

题目: A family hierarchy is usually presented by a pedigree tree where all the nodes on the same level belong to the same generation. Your task is to fi ......
Generation Largest 1094 The

Redirect the Output of systemd Service to a File

By default stdout and stderr of a systemd unit are sent to syslog. 以filebeat service 为例: [Unit] Description=filebeat StartLimitIntervalSec=0 [Service] ......
Redirect Service systemd Output File

《AutoInt: Automatic Feature Interaction Learning via Self-Attentive Neural Networks》特征交叉论文阅读

背景 这是一篇利用多头attention机制来做特征交叉的论文 模型结构 AutoInt的模型结构如上图所示,搞模型包含 Embedding Layer、Interacting Layer、Output Layer三个部分,其中Embedding Layer和Output Layer和普通模型没什么 ......

【图像数据增强】Image Data Augmentation for Deep Learning: A Survey

| 原始题目 | Image Data Augmentation for Deep Learning: A Survey | | | | | 中文名称 | 深度学习的图像数据增强:综述 | | 发表时间 | 2022年4月19日 | | 平台 | arXiv | | 来源 | 南京大学 | | 文章 ......
Augmentation Learning 图像 数据 Survey

Jan 2023-Prioritizing Samples in Reinforcement Learning with Reducible Loss

#1 Introduction 本文建议根据样本的可学习性进行抽样,而不是从经验回放中随机抽样。如果有可能减少代理对该样本的损失,则认为该样本是可学习的。我们将可以减少样本损失的数量称为其可减少损失(ReLo)。这与Schaul等人[2016]的vanilla优先级不同,后者只是对具有高损失的样本给 ......

generate a 3D chart in Python using the CSV data

Here's an example of how you could use Matplotlib to create a 3D scatter plot from your CSV data: import pandas as pd import matplotlib.pyplot as plt ......
generate Python chart using data

Row size too large. The maximum row size for the used table type, not counting BLOBs, is 65535.

问题描述 新建表或者修改表varchar字段长度的时候,出现这个错误 Row size too large. The maximum row size for the used table type, not counting BLOBs, is 65535. This includes stora ......
size counting maximum BLOBs 65535

How to use pip3 install the latest version package All In One

How to use pip3 install the latest version package All In One 如何使用pip3安装最新版本包 ......
install package version latest pip3

cURL error 60: Peer's certificate issuer has been marked as not trusted by the user

PHP中的curl提供了发送网络请求的一系列函数,我们在使用的时候很方便,但有时也会遇到一些问题。标题的错误我曾经遇到过一次,解决之后没有做相关记录,导致最近遇到该错误时,又花了很多时间去解决。 cURL error 60: Peer's certificate issuer has been ma ......
certificate trusted issuer marked error

Oracle 集合-Learning-1

集合-Test1 bulk collect into 批量插入,可用limit 限制插入行数 type ... is table of DataType Index by binary_Integer 其中 index by binary_integer 在定义schema级 type 时没有使用, ......
Learning Oracle

The First Collision for Full SHA-1阅读笔记

论文链接: https://doi.org/10.1007/978-3-319-63688-7_19. 论文给出了第一个SHA-1的实际碰撞. 攻击步骤 找到合适的扰动向量. 构造非线性部分差分路径. 确定每步的条件. 扰动向量选择 采用联合局部碰撞分析(JLCA)技术. 不考虑一条差分路径的概率, ......
Collision 笔记 First Full The