From 54ae9263797db712659ceaa0e6fb27412ae0db35 Mon Sep 17 00:00:00 2001 From: "Ono, Taishi (0000145046)" Date: Thu, 13 Jun 2024 18:14:02 +0200 Subject: [PATCH] description and license added. --- generate_relighting_image.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/generate_relighting_image.py b/generate_relighting_image.py index 3e40df5..65f3cf0 100644 --- a/generate_relighting_image.py +++ b/generate_relighting_image.py @@ -1,3 +1,19 @@ +# generate_relighting_image.py +""" This script renders the scene with an arbitrary environmen map. + +USAGE: + $ python generate_relighting_image.py {RESULT FOLDER NAME} {IMAGE FOLDER NAME} {EPOCH NUM} {ENV MAP NAME} \ + -b {BATCH SIZE} -l {ILLUMINATION SAMPLE NUM} + +NOTE: + to get high-quality images, it is recommended to use `--light_num` larger than 10000. + if you encounter GPU memory issue, please use smaller `--batch_size` instead of reducing `--light_num`. + +Copyright (c) 2024 Sony Semiconductor Solutions Corporation +This software is released under the MIT License. +http://opensource.org/licenses/mit-license.php +""" + import argparse from mymodules.trainers import trainer_provider