Giter Site home page Giter Site logo

lsfnet's People

Contributors

jimmychame avatar

Stargazers

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

Watchers

 avatar  avatar

lsfnet's Issues

model and dataset

Hi, thanks for sharing the code.
Can you share the model and dataset?

Why gain is applied two times?

Hi,
First of all thank you for sharing the code.
My question is regarding the function gen_blur in the file preprocess.py:
In line 65, the gain is applied before applying the blur kernel. Does this correspond to the scaling operation mentioned in the paper? How is that different from the same operation which is applied in line 58 of file dataloader.py?
Also why quantization operation is not applied on the blurry image? (as it is applied on noisy image in line 90 of dataloader.py)
I feel there are some inconsistencies between the data generation pipeline illustrated in Figure 3 of the paper with the provided implementation. Can you please clarify more on this?

About DCN

Hi, thanks for your excellent work.
My question is why I can't compile dcn, it will report the following error.I really want to use dcn in my environment(pytorch1.4)
/home/amax/anaconda3/envs/pytorch1/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:339:40: warning: ‘void c10::detail::deprecated_AT_CHECK()’ is deprecated [-Wdeprecated-declarations]
::c10::detail::deprecated_AT_CHECK();
^
src/deform_conv_cuda.cpp:142:5: note: in expansion of macro ‘AT_CHECK’
AT_CHECK((gradOutput->size(dimh) == outputHeight &&
^~~~~~~~
In file included from /home/amax/anaconda3/envs/pytorch1/lib/python3.7/site-packages/torch/include/c10/core/Device.h:5:0,
from /home/amax/anaconda3/envs/pytorch1/lib/python3.7/site-packages/torch/include/c10/core/Allocator.h:6,
from /home/amax/anaconda3/envs/pytorch1/lib/python3.7/site-packages/torch/include/ATen/ATen.h:3,
from /home/amax/anaconda3/envs/pytorch1/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3,
from /home/amax/anaconda3/envs/pytorch1/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
from /home/amax/anaconda3/envs/pytorch1/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3,
from /home/amax/anaconda3/envs/pytorch1/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3,
from /home/amax/anaconda3/envs/pytorch1/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3,
from /home/amax/anaconda3/envs/pytorch1/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3,
from /home/amax/anaconda3/envs/pytorch1/lib/python3.7/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4,
from /home/amax/anaconda3/envs/pytorch1/lib/python3.7/site-packages/torch/include/torch/extension.h:4,
from src/deform_conv_cuda.cpp:4:
/home/amax/anaconda3/envs/pytorch1/lib/python3.7/site-packages/torch/include/c10/util/Exception.h:314:13: note: declared here
inline void deprecated_AT_CHECK() {}
^~~~~~~~~~~~~~~~~~~
/usr/include/c++/6/type_traits:1558:8: note: provided for ‘template<class _From, class _To> struct std::is_convertible’
struct is_convertible
^~~~~~~~~~~~~~
/usr/include/c++/6/tuple:502:1: error: body of constexpr function ‘static constexpr bool std::_TC<, _Elements>::_NonNestedTuple() [with _SrcTuple = const std::tuple<at::Tensor&, at::Tensor&, at::Tensor&>&; bool = true; _Elements = {at::Tensor&, at::Tensor&, at::Tensor&}]’ not a return-statement
}
^
/usr/include/c++/6/tuple: In instantiation of ‘static constexpr bool std::_TC<, _Elements>::_NonNestedTuple() [with _SrcTuple = std::tuple<at::Tensor&, at::Tensor&, at::Tensor&>&&; bool = true; _Elements = {at::Tensor&, at::Tensor&, at::Tensor&}]’:
/usr/include/c++/6/tuple:686:422: required by substitution of ‘template<class ... _UElements, class _Dummy, typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), at::Tensor&, at::Tensor&, at::Tensor&>::_MoveConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor&, at::Tensor&, at::Tensor&>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor&, at::Tensor&, at::Tensor&>::_NonNestedTuple<tuple<_Elements ...>&&>()), bool>::type > constexpr std::tuple< >::tuple(std::tuple<_Args1 ...>&&) [with _UElements = {at::Tensor&, at::Tensor&, at::Tensor&}; _Dummy = void; typename std::enable_if<((std::_TC<(1ul == sizeof... (_UElements)), at::Tensor&, at::Tensor&, at::Tensor&>::_MoveConstructibleTuple<_UElements ...>() && std::_TC<(1ul == sizeof... (_UElements)), at::Tensor&, at::Tensor&, at::Tensor&>::_ImplicitlyMoveConvertibleTuple<_UElements ...>()) && std::_TC<(std::is_same<_Dummy, void>::value && (1ul == 1)), at::Tensor&, at::Tensor&, at::Tensor&>::_NonNestedTuple<tuple<_Elements ...>&&>()), bool>::type = ]’
/home/amax/anaconda3/envs/pytorch1/lib/python3.7/site-packages/torch/include/ATen/Functions.h:4128:229: required from here
/usr/include/c++/6/tuple:495:244: error: wrong number of template arguments (4, should be 2)
return _and<_not<is_same<tuple<_Elements...>,
^
/usr/include/c++/6/type_traits:1558:8: note: provided for ‘template<class _From, class _To> struct std::is_convertible’
struct is_convertible
^~~~~~~~~~~~~~
/usr/include/c++/6/tuple:502:1: error: body of constexpr function ‘static constexpr bool std::_TC<, _Elements>::_NonNestedTuple() [with _SrcTuple = std::tuple<at::Tensor&, at::Tensor&, at::Tensor&>&&; bool = true; _Elements = {at::Tensor&, at::Tensor&, at::Tensor&}]’ not a return-statement
}
^

DCNv2 model

Hi,after downloading the dcn file from EDVR ,How to get the DCNv2 model file which has to be saved in .\ckpt\

.MAT files

Hi, the .mat file is processed into a grayscale map after getting a .mat file or a three-channel .mat file directly from a color image?
When getting the h5py file of the train dataset, the following error appears when running the gen_deatset.py:
meta['WhiteLevel'] = [metadata['meta']['saturation'][0][0][0][0]]
KeyError: 'meta'
So consider whether the .mat file and the data in the dictionary do not correspond?
thanks!

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.