question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Check failed: dim.IsSet() Internal error: Got nullptr for Dimension in downsample

See original GitHub issue

Hello, thanks again for your work!

I have a question. In unsupervised.py I have im1_s, im2_s with shapes (2, 320, 1152, ?). After first downsample(im1_s, 4) shapes became (2, 80, 288, ?), and then in each iteration when computing loss (https://github.com/simonmeister/UnFlow/blob/master/src/e2eflow/core/unsupervised.py#L116)

I have downsample(im1_s, 2) and shapes decreasing twice. So, once, I have shape (2, 5, 18, ?), and there is an error:

/usr/local/lib/python3.5/dist-packages/tensorflow/include/tensorflow/core/framework/shape_inference.h:625] Check failed: dim.IsSet() Internal error: Got nullptr for Dimension . Aborted (core dumped)

What can cause such a problem and how can I solve it?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
yangengt123commented, Aug 1, 2018

Hi lenazherdeva ,

Did you find any additional cues or solution for this error.

I use the default config.ini setting, using synthia dataset with image size (448, 640), and get the same error in the third time downsample, the time it tries to downsample the ‘border_mask’ (Line 147 in unsupervised.py).

Do you meet this error in the same setting? Could you help me for this?

Thanks!

Update: The size stated in config.ini currently (448, 640) is different from the size stated in paper. By change the number back to (512, 768), the problem is solved.

0reactions
lenazherdevacommented, Aug 7, 2018

Hi, yangengt123!

It’s nice!

But if you will use other sizes: I just check that in the last iteration of downsampling that it’s odd size and I don’t do downsampling. (It’s for kitti dataset for example).

Read more comments on GitHub >

github_iconTop Results From Across the Web

Diff - device/google/cuttlefish_common - Google Git
Init()) { - LOG(ERROR) << "Could not initialize packet switch."; - exit(1); - } - - std::unique_ptr<cvd::VirtualWIFI> radio( - new cvd::VirtualWIFI(nl.get() ...
Read more >
imagejpeg - Manual - PHP
A GdImage object, returned by one of the image creation functions, such as imagecreatetruecolor(). file. The path or an open stream resource (which...
Read more >
lstdrvrs.dtx - CTAN
Run 'lstdrvrs.dtx' through LaTeX2e to get the documentation. ... ,enumFromTo,error,even,exitFailure,exitWith,exp,exponent,fail,filter,filterM,find,findIndex ...
Read more >
https://www.ualberta.ca/~ivashkiv/roman/wp-include...
@return bool|array False on failure, array on success. ... $h ); } /** * Retrieve calculated resized dimensions for use in imagecopyresampled().
Read more >
Release Dataset | Zenodo
Update implementation \n Repair hidden module setting failure \n ... calling get method when testing blacklist fix and add new test \n, 3,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found