Skip to content

Commit 0c06b70

Browse files
committed
bug fix in recorder
1 parent 3f20351 commit 0c06b70

File tree

7 files changed

+8
-13
lines changed

7 files changed

+8
-13
lines changed

configs/nerf/insta.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"parent": "main.json",
3-
"max_steps": 30000,
3+
"max_steps": 20000,
44
"max_cached_bvh": 4000,
55
"max_images_gpu": 1700,
66
"use_dataset_cache": true,

configs/nerf/main.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"decay": 0.95,
2424
"nested": {
2525
"otype": "Adam",
26-
"learning_rate": 0.002,
26+
"learning_rate": 0.00175,
2727
"beta1": 0.9,
2828
"beta2": 0.99,
2929
"epsilon": 1e-15,

instant-ngp/include/neural-graphics-primitives/takikawa_encoding.cuh

+3-3
Original file line numberDiff line numberDiff line change
@@ -386,9 +386,9 @@ public:
386386
);
387387

388388
if (!std::is_same<grad_t, T>::value) {
389-
parallel_for_gpu(stream, n_params(), [grad=m_params_gradient, grad_tmp=params_gradient] __device__ (size_t i) {
390-
grad[i] = (T)grad_tmp[i];
391-
});
389+
// parallel_for_gpu(stream, n_params(), [grad=m_params_gradient, grad_tmp=params_gradient] __device__ (size_t i) {
390+
// grad[i] = (T)grad_tmp[i];
391+
// });
392392
}
393393
}
394394

run.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# Simple script showing how to run the RTA for multiple actors without GUI.
44

5-
actors=("bala" "biden")
5+
actors=("duda" "obama")
66

77
for actor in "${actors[@]}"; do
88
echo "Running for actor = $actor"

scripts/environment.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ dependencies:
2222
- cycler=0.11.0=pyhd3eb1b0_0
2323
- dbus=1.13.18=hb2f20db_0
2424
- expat=2.4.4=h295c915_0
25-
- ffmpeg=4.3=hf484d3e_0
2625
- filelock=3.9.0=py39h06a4308_0
2726
- flit-core=3.6.0=pyhd3eb1b0_0
2827
- fontconfig=2.13.1=h6c09931_0
@@ -126,7 +125,7 @@ dependencies:
126125
- asttokens==2.0.5
127126
- async-timeout==4.0.2
128127
- attrs==22.1.0
129-
- av==8.0.3
128+
# - av==8.0.3
130129
- babel==2.10.3
131130
- backcall==0.2.0
132131
- beautifulsoup4==4.11.1

scripts/generate.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,4 @@ rm -rf ${OUTPUT}/background/
3939

4040
echo "End!"
4141

42-
# ./generate.sh /home/wojciech/projects/metrical-tracker/output/berna/ /home/wojciech/projects/INSTA/data/berna/ 600
42+
# ./generate.sh /home/wojciech/projects/metrical-tracker/output/duda/ /home/wojciech/projects/INSTA/data/duda/ 10

src/recorder.cu

-4
Original file line numberDiff line numberDiff line change
@@ -172,10 +172,6 @@ void rta::Recorder::start() {
172172
core->m_dataset_settings.is_training = false;
173173
core->m_dataset_settings.shuffle = false;
174174
std::string mode = "test";
175-
if (!m_render_config.empty())
176-
mode = m_render_config;
177-
if(m_video_mode == VideoType::Horizontal)
178-
mode = "horizontal";
179175
core->m_background_color.w() = 0.f;
180176
core->reload_training_data(true, mode);
181177
core->m_offscreen_rendering = false;

0 commit comments

Comments
 (0)