hi!
it was complicated but i started it working on Windows.
i.e.:
python render.py configs/256res/cars_256_pretrained.yaml
1.pip install kornia==0.7.2
2.fix scipy issue (as i have scipy==1.12.0 installed)
in giraffe\im2scene\camera.py replace:
r = Rot.from_euler(axis, value * 2 * np.pi).as_dcm()
with
r = Rot.from_euler(axis, value * 2 * np.pi).as_matrix()
hi! it was complicated but i started it working on Windows. i.e.:
python render.py configs/256res/cars_256_pretrained.yaml
1.
pip install kornia==0.7.2
2.fix scipy issue (as i have scipy==1.12.0 installed) in giraffe\im2scene\camera.py replace:
r = Rot.from_euler(axis, value * 2 * np.pi).as_dcm()
withr = Rot.from_euler(axis, value * 2 * np.pi).as_matrix()
*see https://stackoverflow.com/questions/65628149/ratcave-scipy-spatial-transform-rotation-rotation-object-has-no-attribute-a
with
and
idx_paper = np.linspace(0, n_steps - 1, img_n_steps).astype(np.int)
withidx_paper = np.linspace(0, n_steps - 1, img_n_steps).astype(int)
*see - https://stackoverflow.com/questions/74946845/attributeerror-module-numpy-has-no-attribute-int
from kornia.filters import filter2D
withfrom kornia.filters import filter2d
and
return filter2D(x, f, normalized=True)
withreturn filter2d(x, f, normalized=True)