GithubHelp home page GithubHelp logo

xinyiying / mocopnet Goto Github PK

View Code? Open in Web Editor NEW
45.0 45.0 10.0 24.87 MB

Repository for "Local Motion and Contrast Priors Driven Deep Network for Infrared Small Target Super-Resolution ", JSTARS, 2022

Python 96.34% MATLAB 3.66%

mocopnet's People

Contributors

xinyiying avatar yingqianwang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

mocopnet's Issues

训练到大概 9000 次迭代的时候 loss 变得巨大

再次感谢您的工作!
我按照您的默认设置(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

Testing of other evaluation metrics and target detectionm 其他评估指标的测试及目标检测

感谢您的工作!想问一下,后续是否会开源包含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数据集损坏

我在科学数据银行中下载的SAITD训练数据集压缩文件解压后发现好多图像是损坏的,我校验了我下载的压缩文件的MD5值与网站上的相同,而且更换了解压方式,图像还是损坏。所以我猜测是上传到网站上的压缩文件有误,不知道还有没有别的下载方式?多谢!

test.py运行问题

image
在使用test.py时发现
这个错误是由于 torch.cat 函数接收到一个空的张量列表。这个操作需要至少包含一个张量的列表,如果列表为空,就会引发 NotImplementedError。
所以对test.py进行了简单修改(不一定正确,但是修改后,程序不会出bug)
下面是修改后的test.py
test.zip

Could you release full checkpoints?

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次迭代大概用了多久

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.