- 博客(17)
- 收藏
- 关注
原创 【论文笔记】MLFF-GAN:A Multilevel Feature Fusion WithGAN for Spatiotemporal Remote Sensing Images
由于技术和预算的限制,单个遥感卫星的传感器往往难以同时具有高时间和高空间(HTHS)分辨率。在本文中,我们提出了一种新的生成对抗网络(MLFF-GAN)来生成融合HTHS图像。MLFF-GAN主要采用u-net类架构,其生成器由特征提取、特征融合和图像重建三个阶段组成。在特征提取与重建阶段,生成器采用编码和解码结构提取三组多层次特征(MLFs),可以解决高分辨率图像与低分辨率图像之间的巨大分辨率差异。
2022-09-15 15:09:01
2338
4
原创 [论文翻译]A Flexible Reference-Insensitive SpatiotemporalFusion Model for Remote Sensing Images Using...
时空融合
2022-08-13 15:02:01
1232
原创 用pytorch跑cifar10数据集的学习记录
写在前面,本文主要帮助自己抠细节,把学习过程中不懂的记录下来。本文参考了Pytorch打怪路(一)pytorch进行CIFAR-10分类(1)CIFAR-10数据加载和处理_朝花&夕拾-优快云博客侵删,有错欢迎指正(1)数据加载和处理transform = transforms.Compose( [transforms.ToTensor(), transforms.Normalize(mean = (0.5, 0.5, 0.5), std = (0.5, 0..
2021-10-12 15:40:56
433
原创 patA1123 Is It a Complete AVL Tree (30分)
1123 Is It a Complete AVL Tree (30分)An AVL tree is a self-balancing binary search tree. In an AVL tree, the heights of the two child subtrees of any node differ by at most one; if at any time they d...
2020-01-07 16:38:07
187
原创 PAT甲级 1127 ZigZagging on a Tree (30分)
Suppose that all the keys in a binary tree are distinct positive integers. A unique binary tree can be determined by a given pair of postorder and inorder traversal sequences. And it is a simple stand...
2020-01-05 16:16:00
186
原创 leetcode c++ 前序与中序遍历序列构造二叉树/ 中序与后序遍历序列构造二叉树
前序与中序遍历序列构造二叉树/** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode(int x) : val(x), left(NULL), right(NULL)...
2019-12-07 11:32:50
165
原创 leetcode c++ 二叉树的最小/大深度
/** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode(int x) : val(x), left(NULL), right(NULL) {} * }; */cla...
2019-12-07 10:41:06
117
原创 leetcode c++ 树的非递归先序遍历/ 中序遍历/ 后序遍历/ 层序遍历
先序遍历/** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode(int x) : val(x), left(NULL), right(NULL) {} * }; ...
2019-12-07 09:56:51
150
原创 Leetcode c++ 三数之和/ 两数之和/ 两数相加
题1:三数之和给定一个包含 n 个整数的数组 nums,判断 nums 中是否存在三个元素 a,b,c ,使得 a + b + c = 0 ?找出所有满足条件且不重复的三元组。代码:class Solution {public: vector<vector<int>> threeSum(vector<int>& nums) { ...
2019-12-06 15:29:34
505
原创 PAT甲级 1112 Stucked Keyboard (20 分)
On a broken keyboard, some of the keys are always stucked. So when you type some sentences, the characters corresponding to those keys will appear repeatedly on screen for k times.Now given a result...
2019-11-06 15:45:16
109
原创 PAT甲级 1085 Perfect Sequence (25 分)
1085 Perfect Sequence (25 分)Given a sequence of positive integers and another positive integer p. The sequence is said to be a perfect sequence if M≤m×p where M and m are the maximum and minimum num...
2019-10-17 15:44:18
210
原创 pat 甲级 1082 Read Number in Chinese (25 分)
这道题bug改了巨久,看睛神和柳神都是分组处理的,想要试试不分组的,总算AC了大致思路是先对字符串进行预处理把负号先输出,然后删掉把第一个有效字符前的所有零全都删掉以上然后对这个字符串一个个遍历在输出前我们要先知道数字用中文翻译的规则,比如没有零一千对吧然后读字符串里的字符,记录它的位置,比如亿位我记为8(从0开始)读到非零的字符,输出,再根据它所在的位数输出它的位...
2019-10-08 15:04:03
2394
原创 1075 PAT Judge (25 分)
1075 PAT Judge (25 分)这道题有点难住我了,调bug了一小时,终于AC了The ranklist of PAT is generated from the status list, which shows the scores of the submissions. This time you are supposed to generate the ranklist f...
2019-10-03 14:51:50
126
原创 PAT 乙级 1019 数字黑洞(20 分)
给定任一个各位数字不完全相同的 4 位正整数,如果我们先把 4 个数字按非递增排序,再按非递减排序,然后用第 1 个数字减第 2 个数字,将得到一个新的数字。一直重复这样做,我们很快会停在有“数字黑洞”之称的 6174,这个神奇的数字也叫 Kaprekar 常数。例如,我们从6767开始,将得到7766 - 6677 = 10899810 - 0189 = 96219621 - 12...
2018-09-10 14:40:52
459
原创 PAT 乙级 1017 A除以B(20 分)
本题要求计算 A/B,其中 A 是不超过 1000 位的正整数,B 是 1 位正整数。你需要输出商数 Q 和余数 R,使得 A=B×Q+R 成立。输入格式:输入在一行中依次给出 A 和 B,中间以 1 空格分隔。输出格式:在一行中依次输出 Q 和 R,中间以 1 空格分隔。输入样例:123456789050987654321 7输出样例:17636684150...
2018-09-10 11:43:53
196
原创 PAT 乙级 1081 检查密码(15 分)
本题要求你帮助某网站的用户注册模块写一个密码合法性检查的小功能。该网站要求用户设置的密码必须由不少于6个字符组成,并且只能有英文字母、数字和小数点 .,还必须既有字母也有数字。输入格式:输入第一行给出一个正整数 N(≤ 100),随后 N 行,每行给出一个用户设置的密码,为不超过 80 个字符的非空字符串,以回车结束。输出格式:对每个用户的密码,在一行中输出系统反馈信息,分以下5种...
2018-09-09 14:24:06
251
原创 PAT 乙级 1086 就不告诉你(15 分)
做作业的时候,邻座的小盆友问你:“五乘以七等于多少?”你应该不失礼貌地围笑着告诉他:“五十三。”本题就要求你,对任何一对给定的正整数,倒着输出它们的乘积。输入格式:输入在第一行给出两个不超过 1000 的正整数 A 和 B,其间以空格分隔。输出格式:在一行中倒着输出 A 和 B 的乘积。输入样例:5 7输出样例:53刚开始写的(错):#include...
2018-09-09 13:11:41
564
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人