Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/RylonW/DocNLC
/ set_params_lr_zero
Method
set_params_lr_zero
models/SIEN_model.py:158–160 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
156
# print('max:',max(LQ_IMG), 'min:',min(LQ_IMG))
157
158
def
set_params_lr_zero(self):
159
# fix normal module
160
self.optimizers[0].param_groups[0][
'lr'
] = 0
161
162
163
def
optimize_parameters(self, step):
Callers
1
optimize_parameters
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected