From 128222332b7967123de0dd186dd75a4dfdfa640f Mon Sep 17 00:00:00 2001 From: nagadomi Date: Sat, 15 Dec 2018 14:38:56 +0900 Subject: [PATCH] Add license of RandomBinaryConvolution.lua --- NOTICE | 2 +- lib/EdgeFilter.lua | 2 -- lib/RandomBinaryConvolution.lua | 23 +++++++++++++++++++++++ 3 files changed, 24 insertions(+), 3 deletions(-) diff --git a/NOTICE b/NOTICE index 47dd50f..fc68fbf 100644 --- a/NOTICE +++ b/NOTICE @@ -1,4 +1,4 @@ images/miku_*: CC BY-NC by piapro (http://piapro.net/en_for_creators.html) webgen/assets/bg.png: Generated by chibichara maker (http://tetrabo.com/chibichara/). lib/sRGB2014.lua: sRGB2014.icc from http://www.color.org/srgbprofiles.xalter - +lib/RandomBinaryConvolution.lua: from from https://github.com/juefeix/lbcnn.torch diff --git a/lib/EdgeFilter.lua b/lib/EdgeFilter.lua index cb96e7f..291f651 100644 --- a/lib/EdgeFilter.lua +++ b/lib/EdgeFilter.lua @@ -1,5 +1,3 @@ --- EdgeFilter.lua --- from https://github.com/juefeix/lbcnn.torch require 'cunn' local EdgeFilter, parent = torch.class('w2nn.EdgeFilter', 'nn.SpatialConvolution') diff --git a/lib/RandomBinaryConvolution.lua b/lib/RandomBinaryConvolution.lua index fc379d3..c4df6ed 100644 --- a/lib/RandomBinaryConvolution.lua +++ b/lib/RandomBinaryConvolution.lua @@ -1,5 +1,28 @@ -- RandomBinaryConvolution.lua -- from https://github.com/juefeix/lbcnn.torch +--[[ +MIT License + +Copyright (c) 2017 Felix Juefei Xu + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +--]] local THNN = require 'nn.THNN' local RandomBinaryConvolution, parent = torch.class('w2nn.RandomBinaryConvolution', 'nn.SpatialConvolution')