Coder Social home page Coder Social logo

pkumivision / ffc Goto Github PK

View Code? Open in Web Editor NEW
330.0 330.0 29.0 21 KB

This is an official pytorch implementation of Fast Fourier Convolution.

License: Apache License 2.0

Python 100.00%
deep-neural-networks fast-fourier-transform ffc image-classification imagenet non-local spectral-analysis

ffc's People

Contributors

1820366459 avatar lexanagibator228 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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

ffc's Issues

BasicBlock implementation

Hello, the forward method of BasicBlock says:

x = self.conv1(x)
x_l, x_g = self.conv2(x)
x_l, x_g = self.se_block(x)

Is this correct? x_l and x_g are overwritten by the se_block. Shouldn't it be like this?

x = self.conv1(x)
x = self.conv2(x)
x_l, x_g = self.se_block(x)

Thanks!

Pretrained models doesn't match code

Hi! Greatly appreciate your work! It seems that pretrained weights that you provided in issue #1 doesn't match the code:

  • layers are named differently
  • there is size mismatch in some layers, f.e. size mismatch for layer3.3.conv2.ffc.convl2l.weight: copying a param with shape torch.Size([192, 192, 3, 3]) from checkpoint, the shape in current model is torch.Size([128, 128, 3, 3]).

Can you please check it out?

FFC for keypoint detection and matching?

Thanks for the amazing work.
Could you provide the code for keypoint detection? If I have two images from the same scene, the first one is RGB image, the others is infraed images,whether it extract the same keypoints or not?

Implementation on EfficientNet

Please share implementation on anyone reasonably deep EfficienNet or EfficientNet_v2. I tried to follow method of ResNet but getting channel mismatching error.

Input channel mismatch

Using ffc() to directly replace nn.Conv2d() will report an error:
RuntimeError: Given groups=1, weight of size [5, 3, 3, 3], expected input[3, 6, 64, 64] to have 3 channels, but got 6 channels instead

Missing license file

Hi. First of all, thanks a lot for contributing your work to the community.
I noticed that this repo does't include a license file, so it's difficult to know the conditions for rightful use of it. Could you confirm under what conditions can your code be used and preferrably add a license file?

Pretrained checkpoint

Hello! May I ask where can I get the fcc_resnet parameter pre-trained on ImageNet in the experimental results?

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.