Check failed: dim.IsSet() Internal error: Got nullptr for Dimension in downsample
See original GitHub issueHello, 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:
- Created 5 years ago
- Comments:5 (2 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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.
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).