Open MarviB16 opened 5 years ago
Hi, yes I also ran into that the other day. This seems to be a very unfortunate thing that only happens with CPU. At some point, I have optimized the code for CuDNN, which can be done by switching the format from NHWC to NCHW, see https://jhui.github.io/2017/03/07/TensorFlow-Perforamnce-and-advance-topics/ . Unfortunately, I only found out recently that NCHW does not work on CPU. If you have a GPU, you can solve this problem by switching to tensorflow-gpu.
Otherwise, the problem can be solved by switching the SIPS code back to NHWC. Shouldn't be too complicated, but I won't have time to do this in the foreseeable future. Also, I don't know if this wouldn't break the pretrained weights, though it's not too complicated to re-train them. If you or anyone else would like to help with that and create a pull request, you're very welcome!
Hi,
I get this error message when i am trying to run SIPs (with
python infer_folder.py --in_dir=INPUT_DIR
andpython render_matching.py --ds=kt --val_best --testing
)From
tensorflow.python.framework.errors_impl.UnimplementedError: Generic conv implementation only supports NHWC tensor format for now.
i would guess that i use the wrong tensorflow version, though i tried 1.4.0, 1.14.0 and 2.0-nightly, but non work.Could you maybe specify which tensorflow version was used? Thanks.