Contrastive Learning for Compact Single Image Dehazing, CVPR2021

Overview
You might also like...
Official implementation of
Official implementation of "Towards Good Practices for Efficiently Annotating Large-Scale Image Classification Datasets" (CVPR2021)

Towards Good Practices for Efficiently Annotating Large-Scale Image Classification Datasets This is the official implementation of "Towards Good Pract

MASA-SR: Matching Acceleration and Spatial Adaptation for Reference-Based Image Super-Resolution (CVPR2021)

MASA-SR Official PyTorch implementation of our CVPR2021 paper MASA-SR: Matching Acceleration and Spatial Adaptation for Reference-Based Image Super-Re

PyTorch code for our paper
PyTorch code for our paper "Image Super-Resolution with Non-Local Sparse Attention" (CVPR2021).

Image Super-Resolution with Non-Local Sparse Attention This repository is for NLSN introduced in the following paper "Image Super-Resolution with Non-

Pytorch implementation of CVPR2021 paper
Pytorch implementation of CVPR2021 paper "MUST-GAN: Multi-level Statistics Transfer for Self-driven Person Image Generation"

MUST-GAN Code | paper The Pytorch implementation of our CVPR2021 paper "MUST-GAN: Multi-level Statistics Transfer for Self-driven Person Image Generat

Official implementation of "SinIR: Efficient General Image Manipulation with Single Image Reconstruction" (ICML 2021)

SinIR (Official Implementation) Requirements To install requirements: pip install -r requirements.txt We used Python 3.7.4 and f-strings which are in

[CVPR2021] The source code for our paper 《Removing the Background by Adding the Background: Towards Background Robust Self-supervised Video Representation Learning》.
[CVPR2021] The source code for our paper 《Removing the Background by Adding the Background: Towards Background Robust Self-supervised Video Representation Learning》.

TBE The source code for our paper "Removing the Background by Adding the Background: Towards Background Robust Self-supervised Video Representation Le

[CVPR2021] DoDNet: Learning to segment multi-organ and tumors from multiple partially labeled datasets
[CVPR2021] DoDNet: Learning to segment multi-organ and tumors from multiple partially labeled datasets

DoDNet This repo holds the pytorch implementation of DoDNet: DoDNet: Learning to segment multi-organ and tumors from multiple partially labeled datase

This is the repository for CVPR2021 Dynamic Metric Learning: Towards a Scalable Metric Space to Accommodate Multiple Semantic Scales
This is the repository for CVPR2021 Dynamic Metric Learning: Towards a Scalable Metric Space to Accommodate Multiple Semantic Scales

Intro This is the repository for CVPR2021 Dynamic Metric Learning: Towards a Scalable Metric Space to Accommodate Multiple Semantic Scales Vehicle Sam

 Code for CVPR2021 paper
Code for CVPR2021 paper "Learning Salient Boundary Feature for Anchor-free Temporal Action Localization"

AFSD: Learning Salient Boundary Feature for Anchor-free Temporal Action Localization This is an official implementation in PyTorch of AFSD. Our paper

Comments
  • Runtime error: The size of tensor a (275) must match the size of tensor b (276) at non-singleton dimension 3

    Runtime error: The size of tensor a (275) must match the size of tensor b (276) at non-singleton dimension 3

    When one of the input image's resolution (width or height) is not divisiable by 8 (or the downsampling rate in the AER-Net forward process), the error happens.


    The error message

    image

    The input clear image (550 x 975)

    1714

    Should I do some resize or crop work with my own dataset both when training and testing? What should I do to make images with random size as a legal input?

    Thanks a lot.

    opened by Lewis-Liang 1
  • Open source code seems to be wrong//开源代码似乎是错误的

    Open source code seems to be wrong//开源代码似乎是错误的

    Open source code seems to be problematic, e.g. : x1 = self.block(x_down3) x2 = self.block(x1) x3 = self.block(x2) x4 = self.block(x3) x5 = self.block(x4) x6 = self.block(x5) Does this mean that the FABlock of the network is sharing weights? So should it be 1 instead of 6 as stated in the paper, after all the comparison FFANet is not shared. We simply changed the organisation of the dataset: from h5 format to direct feeding of jpg images, and the use of DCNs from MMCV-Full instead of those provided by the authors, yielding results that are only 60% of the paper's results. If shared weights are used, then the number of participants is consistent with the paper but extremely poor, and if no weights are shared, then the number of participants is increased by a factor of 4. What is the problem, please? Looking forward to your answer 开源的代码似乎是有问题的,如: 这里的意思是网络的FABlock是共享权重的么?那么是否应该是1个,而不是论文中说的6个,毕竟对比的FFANet并不是共享的。 x1 = self.block(x_down3) x2 = self.block(x1) x3 = self.block(x2) x4 = self.block(x3) x5 = self.block(x4) x6 = self.block(x5) 我们仅仅是改变了数据集的组织方式:由h5格式改为直接喂入jpg图像,以及使用MMCV-Full的DCN代替作者提供的DCN,得到的结果只有论文结果的60%。 如果使用共享权重,那么参数量和论文一致但是效果极差,如果不共享权重,那么参数量增加4倍。 请问是什么问题呢?期待您的回答

    opened by Bruce-WangGF 0
  • Unable to download pre-trained models

    Unable to download pre-trained models

    Could you provide other links to pre-trained models apart from Baidu cloud? I am not able to download from Baidu cloud. Or could you share the models in GitHub directly?

    opened by sumitlaha 0
  • how to select one positive sample and multiple negative samples and compute CR loss?

    how to select one positive sample and multiple negative samples and compute CR loss?

    In your CR.py file , you select postive and negative samples with the number of batch size. However, how to select one positive sample and multiple negative samples and compute CR loss as shown in your paper? Can you explain or update the code? Thanks for your reply.

    opened by jchenTech 1
Owner
glassy
glassy
Code for 'Single Image 3D Shape Retrieval via Cross-Modal Instance and Category Contrastive Learning', ICCV 2021

CMIC-Retrieval Code for Single Image 3D Shape Retrieval via Cross-Modal Instance and Category Contrastive Learning. ICCV 2021. Introduction In this wo

null 42 Nov 17, 2022
Saeed Lotfi 28 Dec 12, 2022
This repository contains the source code for the paper "DONeRF: Towards Real-Time Rendering of Compact Neural Radiance Fields using Depth Oracle Networks",

DONeRF: Towards Real-Time Rendering of Compact Neural Radiance Fields using Depth Oracle Networks Project Page | Video | Presentation | Paper | Data L

Facebook Research 281 Dec 22, 2022
Compact Bilinear Pooling for PyTorch

Compact Bilinear Pooling for PyTorch. This repository has a pure Python implementation of Compact Bilinear Pooling and Count Sketch for PyTorch. This

Grégoire Payen de La Garanderie 234 Dec 7, 2022
A Pytorch Implementation for Compact Bilinear Pooling.

CompactBilinearPooling-Pytorch A Pytorch Implementation for Compact Bilinear Pooling. Adapted from tensorflow_compact_bilinear_pooling Prerequisites I

null 169 Dec 23, 2022
Re-implementation of the Noise Contrastive Estimation algorithm for pyTorch, following "Noise-contrastive estimation: A new estimation principle for unnormalized statistical models." (Gutmann and Hyvarinen, AISTATS 2010)

Noise Contrastive Estimation for pyTorch Overview This repository contains a re-implementation of the Noise Contrastive Estimation algorithm, implemen

Denis Emelin 42 Nov 24, 2022
Code for Dual Contrastive Learning for Unsupervised Image-to-Image Translation, NTIRE, CVPRW 2021.

arXiv Dual Contrastive Learning Adversarial Generative Networks (DCLGAN) We provide our PyTorch implementation of DCLGAN, which is a simple yet powerf

null 119 Dec 4, 2022
Accurate 3D Face Reconstruction with Weakly-Supervised Learning: From Single Image to Image Set (CVPRW 2019). A PyTorch implementation.

Accurate 3D Face Reconstruction with Weakly-Supervised Learning: From Single Image to Image Set —— PyTorch implementation This is an unofficial offici

Sicheng Xu 833 Dec 28, 2022
Repo for CVPR2021 paper "QPIC: Query-Based Pairwise Human-Object Interaction Detection with Image-Wide Contextual Information"

QPIC: Query-Based Pairwise Human-Object Interaction Detection with Image-Wide Contextual Information by Masato Tamura, Hiroki Ohashi, and Tomoaki Yosh

null 105 Dec 23, 2022
[CVPR2021] Invertible Image Signal Processing

Invertible Image Signal Processing This repository includes official codes for "Invertible Image Signal Processing (CVPR2021)". Figure: Our framework

Yazhou XING 281 Dec 31, 2022