vsitzmann / siren

Official implementation of "Implicit Neural Representations with Periodic Activation Functions"
MIT License
1.72k stars 247 forks source link

Why are the image values multiplied by 1e1 when calculating the gradient #21

Open wang-ps opened 3 years ago

wang-ps commented 3 years ago

Dear authors of siren,

Could you please explain the following line of code? Why are the image values multiplied by 1e1 when calculating the gradient? https://github.com/vsitzmann/siren/blob/4df34baee3f0f9c8f351630992c1fe1f69114b5f/dataio.py#L601