Selaa lähdekoodia

Add license of RandomBinaryConvolution.lua

nagadomi 6 vuotta sitten
vanhempi
commit
128222332b
3 muutettua tiedostoa jossa 24 lisäystä ja 3 poistoa
  1. 1 1
      NOTICE
  2. 0 2
      lib/EdgeFilter.lua
  3. 23 0
      lib/RandomBinaryConvolution.lua

+ 1 - 1
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

+ 0 - 2
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')
 

+ 23 - 0
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')