Spaces:
Sleeping
Sleeping
removed video
Browse files
app.py
CHANGED
|
@@ -147,7 +147,7 @@ def process(inputfiles, input_path=None):
|
|
| 147 |
args.source_path = opt.img_base_path
|
| 148 |
# args.model_path = GRADIO_CACHE_FOLDER + '/output/'
|
| 149 |
# args.source_path = GRADIO_CACHE_FOLDER
|
| 150 |
-
args.iteration =
|
| 151 |
os.makedirs(args.model_path, exist_ok=True)
|
| 152 |
training(lp.extract(args), op.extract(args), pp.extract(args), args.test_iterations, args.save_iterations, args.checkpoint_iterations, args.start_checkpoint, args.debug_from, args)
|
| 153 |
##################################################################################################################################################
|
|
@@ -159,16 +159,17 @@ def process(inputfiles, input_path=None):
|
|
| 159 |
args.eval = True
|
| 160 |
args.get_video = True
|
| 161 |
args.n_views = opt.n_views
|
| 162 |
-
render_sets(
|
| 163 |
-
|
| 164 |
-
|
| 165 |
-
|
| 166 |
-
|
| 167 |
-
|
| 168 |
-
|
| 169 |
-
)
|
| 170 |
output_ply_path = opt.img_base_path + f'/output/point_cloud/iteration_{args.iteration}/point_cloud.ply'
|
| 171 |
-
output_video_path =
|
|
|
|
| 172 |
# output_ply_path = GRADIO_CACHE_FOLDER+ f'/output/point_cloud/iteration_{args.iteration}/point_cloud.ply'
|
| 173 |
# output_video_path = GRADIO_CACHE_FOLDER+ f'/output/demo_{opt.n_views}_view.mp4'
|
| 174 |
|
|
|
|
| 147 |
args.source_path = opt.img_base_path
|
| 148 |
# args.model_path = GRADIO_CACHE_FOLDER + '/output/'
|
| 149 |
# args.source_path = GRADIO_CACHE_FOLDER
|
| 150 |
+
args.iteration = 10000
|
| 151 |
os.makedirs(args.model_path, exist_ok=True)
|
| 152 |
training(lp.extract(args), op.extract(args), pp.extract(args), args.test_iterations, args.save_iterations, args.checkpoint_iterations, args.start_checkpoint, args.debug_from, args)
|
| 153 |
##################################################################################################################################################
|
|
|
|
| 159 |
args.eval = True
|
| 160 |
args.get_video = True
|
| 161 |
args.n_views = opt.n_views
|
| 162 |
+
# render_sets(
|
| 163 |
+
# model.extract(args),
|
| 164 |
+
# args.iteration,
|
| 165 |
+
# pipeline.extract(args),
|
| 166 |
+
# args.skip_train,
|
| 167 |
+
# args.skip_test,
|
| 168 |
+
# args,
|
| 169 |
+
# )
|
| 170 |
output_ply_path = opt.img_base_path + f'/output/point_cloud/iteration_{args.iteration}/point_cloud.ply'
|
| 171 |
+
output_video_path = ""
|
| 172 |
+
# output_video_path = opt.img_base_path + f'/output/demo_{opt.n_views}_view.mp4'
|
| 173 |
# output_ply_path = GRADIO_CACHE_FOLDER+ f'/output/point_cloud/iteration_{args.iteration}/point_cloud.ply'
|
| 174 |
# output_video_path = GRADIO_CACHE_FOLDER+ f'/output/demo_{opt.n_views}_view.mp4'
|
| 175 |
|