Skip to content

fix: correct undefined method name for step size computation#88

Open
Mr-Neutr0n wants to merge 1 commit intoapchenstu:mainfrom
Mr-Neutr0n:fix/compute-stepsize-method-name
Open

fix: correct undefined method name for step size computation#88
Mr-Neutr0n wants to merge 1 commit intoapchenstu:mainfrom
Mr-Neutr0n:fix/compute-stepsize-method-name

Conversation

@Mr-Neutr0n
Copy link
Copy Markdown

Bug

TensorVM.upsample_volume_grid() in models/tensoRF.py calls self.compute_stepSize(res_target), but no such method exists on the class or its parent TensorBase. This causes an AttributeError at runtime when upsampling the volume grid.

Fix

Renamed the call to self.update_stepSize(res_target), which is the actual method defined in TensorBase (line 193 of models/tensorBase.py). All other call sites in the codebase (TensorVMSplit, TensorCP) already use the correct update_stepSize name.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant