Closed TwiceMao closed 2 years ago
As what is described in the title, I'm confused by the code : setattr(self, f"xyzencoding{i+1}", layer) in the 69th line of ./models/nerf.py.
What does xyzencoding{i+1} mean? And why do you use it there? It's not an attribute of the Class Nerf. Thank you for your reply.
I have solved it, thank you.
As what is described in the title, I'm confused by the code : setattr(self, f"xyzencoding{i+1}", layer) in the 69th line of ./models/nerf.py.
What does xyzencoding{i+1} mean? And why do you use it there? It's not an attribute of the Class Nerf. Thank you for your reply.