Hi, I have stumbled upon two problems when training CamP. I was using zipnerf/360.gin and camp/camera_optim_perturbed.gin.
The two Problems are:
- I got the error
module 'camp_zipnerf.internal.math' has no attribute 'normalize'. I was able to fix this by changing math.normalize to spin_math.normalize here:
|
perturb_dir = math.normalize(random.normal(key, camera_positions.shape)) |
- After resolving the first problem I got the error
"Model" object has no attribute "grid_representation" raised here:
|
if ( |
|
model.grid_representation is None |
|
or model.grid_representation.lower() not in ['ngp', 'hash'] |
|
): |
|
raise ValueError('Only HashEncoding supports with coarse to fine.') |
Simply commenting out the lines fixed the issue and training worked.
Are these actually Bugs or am I missing something?
Hi, I have stumbled upon two problems when training CamP. I was using
zipnerf/360.ginandcamp/camera_optim_perturbed.gin.The two Problems are:
module 'camp_zipnerf.internal.math' has no attribute 'normalize'. I was able to fix this by changingmath.normalizetospin_math.normalizehere:camp_zipnerf/camp_zipnerf/internal/camera_utils.py
Line 1689 in d502249
"Model" object has no attribute "grid_representation"raised here:camp_zipnerf/camp_zipnerf/internal/train_utils.py
Lines 618 to 622 in d502249
Are these actually Bugs or am I missing something?