Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

some issues during implementation. #11

Open
MHassan1122 opened this issue Jan 9, 2024 · 4 comments
Open

some issues during implementation. #11

MHassan1122 opened this issue Jan 9, 2024 · 4 comments

Comments

@MHassan1122
Copy link

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)

@SophusDavid
Copy link

use previous commit
#10

@MHassan1122
Copy link
Author

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

@MHassan1122
Copy link
Author

@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

@frankshen07
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants