From 76276fdbeade20f30f9474e32a289dba5c09d920 Mon Sep 17 00:00:00 2001
From: AlexeyAB <alexeyab84@gmail.com>
Date: Wed, 23 Aug 2017 18:54:24 +0000
Subject: [PATCH] You can specify filename for output video by using -out_filename res.avi
---
src/network.h | 18 +++++++++++++++++-
1 files changed, 17 insertions(+), 1 deletions(-)
diff --git a/src/network.h b/src/network.h
index 4f9ba75..bb65eac 100644
--- a/src/network.h
+++ b/src/network.h
@@ -2,9 +2,15 @@
#ifndef NETWORK_H
#define NETWORK_H
-#include "image.h"
#include "layer.h"
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#include "image.h"
#include "data.h"
+#include "tree.h"
typedef enum {
CONSTANT, STEP, EXP, POLY, STEPS, SIG, RANDOM
@@ -36,6 +42,11 @@
int num_steps;
int burn_in;
+ int adam;
+ float B1;
+ float B2;
+ float eps;
+
int inputs;
int h, w, c;
int max_crop;
@@ -47,6 +58,7 @@
float hue;
int gpu_index;
+ tree *hierarchy;
#ifdef GPU
float **input_gpu;
@@ -118,5 +130,9 @@
int get_network_nuisance(network net);
int get_network_background(network net);
+#ifdef __cplusplus
+}
+#endif
+
#endif
--
Gitblit v1.10.0