FlexiCubes icon indicating copy to clipboard operation
FlexiCubes copied to clipboard

some issues during implementation.

Open MHassan1122 opened this issue 1 year ago • 4 comments

when i want to run the program show the following error, anyone who has experienced in this , I try my best and check the method in render.py as well.

Traceback (most recent call last): File "C:\Users\admin\FlexiCubes-main\examples\optimize.py", line 88, in mv, mvp = render.get_random_camera_batch(FLAGS.batch, iter_res=FLAGS.train_res, device=device) ValueError: too many values to unpack (expected 2)

MHassan1122 avatar Jan 09 '24 15:01 MHassan1122

use previous commit #10

SophusDavid avatar Jan 11 '24 09:01 SophusDavid

dear I have tried with kaolin-0.13.0 as well but the same error

MHassan1122 avatar Jan 25 '24 10:01 MHassan1122

@SophusDavid Requirement already satisfied: MarkupSafe>=2.0 in c:\users\admin\anaconda3\envs\flexicube\lib\site-packages (from Jinja2>=3.0->flask==2.0.3->kaolin==0.13.0) (2.1.4) (flexicube) C:\Users\admin\FlexiCubes\examples>python optimize.py --ref_mesh data/inputmodels/block.obj --out_dir out/block Traceback (most recent call last): File "C:\Users\admin\FlexiCubes\examples\optimize.py", line 88, in mv, mvp = render.get_random_camera_batch(FLAGS.batch, iter_res=FLAGS.train_res, device=device) ValueError: too many values to unpack (expected 2)

can you tell me what will be the solution

MHassan1122 avatar Jan 26 '24 13:01 MHassan1122

Apologies for the issues caused by the Kaolin merge. I've added back the previous functions we used to produce the paper's results, which do not depend on Kaolin. The error should be resolved now with the latest commit.

frankshen07 avatar Jan 30 '24 16:01 frankshen07