xinyiying / mocopnet Goto Github PK
View Code? Open in Web Editor NEWRepository for "Local Motion and Contrast Priors Driven Deep Network for Infrared Small Target Super-Resolution ", JSTARS, 2022
Repository for "Local Motion and Contrast Priors Driven Deep Network for Infrared Small Target Super-Resolution ", JSTARS, 2022
再次感谢您的工作!
我按照您的默认设置(SAIDT数据集是按照论文里的训练测试方式进行划分的)进行了训练,如下所示
parser.add_argument("--save", default='./log', type=str, help="Save path")
parser.add_argument("--resume", default="", type=str, help="Resume path (default: none)")
parser.add_argument("--scale_factor", type=int, default=4, help="scale")
parser.add_argument("--input_num", type=int, default=7, help="input frame number")
parser.add_argument("--train_dataset_dir", default='./data/train/SAITD', type=str, help="train_dataset")
parser.add_argument("--val_dataset_dir", default='./data/test/SAITD', type=str, help="train_dataset")
parser.add_argument("--batch_size", type=int, default=2, help="Training batch size")
parser.add_argument('--patch_size', type=int, default=64)
parser.add_argument('--n_iters', type=int, default=100000, help='number of iterations to train')
parser.add_argument("--device", default=0, type=int, help="GPU id (default: 0)")
parser.add_argument("--lr", type=float, default=1e-3, help="Learning Rate. Default=4e-4")
parser.add_argument('--gamma', type=float, default=0.5, help='gamma')
parser.add_argument("--milestones", type=int, default=[10000,20000,60000], help="Sets the learning rate to the initial LR decayed by momentum every n epochs, Default: n=6")
parser.add_argument("--threads", type=int, default=4, help="Number of threads for data loader to use, Default: 1")
可是,训练到大概 9000 次迭代的时候 loss 变得巨大
8999it [32:18, 8.27it/s]Mar 29 23:46:06 iter---9000, loss_epoch---17572159662772990246912.000000, PSNR---5.812408
请问,您知道这是怎么回事嘛
您好,麻烦问一下在原始分辨率上再实现四倍超分需要重新训练参数吗?还是只需要修改scale参数?我尝试test时候只能生成原始分辨率的图像,比如我如何得到2560×2048的SAITD
感谢您的工作!想问一下,后续是否会开源包含SNRG、BSF、ROC等评估指标的测试代码以及目标检测代码,想作为参考。
再次感谢您的工作,给我带来了很多启发。
Thanks for your work! I would like to ask whether the testing code containing evaluation metrics such as SNRG, BSF, and ROC and target detection code will be open sourced in the future. I would like to use it as a reference.
Thanks again for your work which has inspired me a lot.
我在科学数据银行中下载的SAITD训练数据集压缩文件解压后发现好多图像是损坏的,我校验了我下载的压缩文件的MD5值与网站上的相同,而且更换了解压方式,图像还是损坏。所以我猜测是上传到网站上的压缩文件有误,不知道还有没有别的下载方式?多谢!
在使用test.py时发现
这个错误是由于 torch.cat 函数接收到一个空的张量列表。这个操作需要至少包含一个张量的列表,如果列表为空,就会引发 NotImplementedError。
所以对test.py进行了简单修改(不一定正确,但是修改后,程序不会出bug)
下面是修改后的test.py
test.zip
Hi, thanks again for your excellent works.
Is it possible to release the full checkpoints of the model, so we can make a comparison or finetune it? Thanks.
作者您好,麻烦问一下你SAITD数据集训练集是多大呀是只有原始的175个序列吗,在您的设备上SAITD训练100K次迭代大概用了多久
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.