Closed xvdp closed 3 years ago
running locallly installed code on a jupyter notebook also fails in configs - Ill debug this, but just saying, the project is awesome, but a bit finnicky.
ValueError Traceback (most recent call last)
how you fix that bro ?
@antonioace I'd never used frozen dict or gin-config ( not to be confused with gin), or jax for that matter!,
when defining a @dataclass some care needs to be taken on dict or frozendict or default arguments-- they need to be wrapped, and passed on creation, neither of those seems to have been done (I may have missed a beat on the original code, but thhis i say fixes it)
Ill fork test and submit something that works for me, on and offline - sometime today.
It seems like some updates to gin/flax have broken the current code (my fault for not freezing the version in the instructions).
I'll upload a fix sometimes this week.
thanks @keunhong - great project, thanks for the work.
My x_dev branch fixes the issue, or patches it, your call.
changed 2 files: https://github.com/xvdp/nerfies/blob/x_dev/nerfies/configs.py
https://github.com/xvdp/nerfies/blob/x_dev/notebooks/Nerfies_Training.ipynb
I didnt check all your configs, but you seems to me that as used. dataclass cannot pass default dict args, I can do a pull request if you want,
-- i see there are more errors around frozen dict - Im running the Training collab on another window
Seems like I'm still getting this issue. Anyway I can bypass it? Thanks.
Tied "!pip install git+https://github.com/xvdp/nerfies@x_dev" in notebook, but there is no lucky.
Hi, this should be fixed now. Sorry it took so long.
I ran both collabs in sequence Nerfies_Capture_Processing.ipynb and Nerfies_Training.ipynb on the process of running the second one - having changed nothing igot an error thanks
ValueError Traceback (most recent call last)