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

kitti.ckpt does not support global mode #39

Open
weihaosky opened this issue Jan 4, 2021 · 1 comment
Open

kitti.ckpt does not support global mode #39

weihaosky opened this issue Jan 4, 2021 · 1 comment

Comments

@weihaosky
Copy link

weihaosky commented Jan 4, 2021

Hi, when I use kitti.ckpt and set --mode=global, the following error arises:

Traceback (most recent call last):
  File "demos/demo_v2d.py", line 84, in <module>
    main(args)
  File "demos/demo_v2d.py", line 66, in main
    depths, poses = deepv2d(images, intrinsics, viz=True, iters=args.n_iters)
  File "deepv2d/deepv2d.py", line 467, in __call__
    self.update_poses(i)
  File "deepv2d/deepv2d.py", line 368, in update_poses
    self.poses, self.intrinsics, self.weights = self.sess.run(outputs, feed_dict=feed_dict)
  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/client/session.py", line 950, in run
    run_metadata_ptr)
  File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/client/session.py", line 1149, in _run
    str(subfeed_t.get_shape())))
ValueError: Cannot feed value of shape (1, 192, 1088) for Tensor 'Placeholder_1:0', which has shape '(5, 192, 1088)'

The nyu.ckpt is normal in both global and keyframe mode.

What is the problem?

Many thanks.

@shaiSchneider
Copy link

got the same problem, @weihaosky did you manage to solve it?

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

2 participants