Robert Sachunsky

Results 272 issues of Robert Sachunsky

@kba I saw you struggle with my #1239 changes in https://github.com/OCR-D/core/actions/workflows/docker-image.yml afterwards. I did not test the last changes locally (and Github itself could not be used). Sorry about that!...

As of [TF 2.11](https://www.gitclear.com/open_repos/tensorflow/tensorflow/release/v2.11.0), Optimizer must be imported from `tf.keras.optimizers.legacy` instead of `tf.keras.optimizers`. I have tested with TF 2.13.1 on AdaBelief_tf2_test.py from [the 0.3.0 branch](https://github.com/juntang-zhuang/Adabelief-Optimizer/blob/59691466bbe8cc5b3ae5c69b012e78befaaa35e1/pypi_packages/adabelief_tf0.3.0/adabelief_tf2/AdaBelief_tf2_test.py) (with a slight modification of...

But perhaps this should be in the form of a user choice / parameter, in which case of course the change would be much bigger.

The following build problem was just introduced [here](https://github.com/google/leveldb/commit/302786e211d1f2e6fd260261f642d03a91e5922c): ``` In file included from leveldb/util/comparator.cc:14: leveldb/./util/no_destructor.h: In constructor ‘leveldb::NoDestructor::NoDestructor(ConstructorArgTypes&& ...)’: leveldb/./util/no_destructor.h:24:24: error: ‘is_standard_layout_v’ is not a member of ‘std’; did you...

Fixes the following build issue on GCC v9: ``` In file included from leveldb/util/comparator.cc:14: leveldb/./util/no_destructor.h: In constructor ‘leveldb::NoDestructor::NoDestructor(ConstructorArgTypes&& ...)’: leveldb/./util/no_destructor.h:24:24: error: ‘is_standard_layout_v’ is not a member of ‘std’; did you...

Related to https://github.com/tesseract-ocr/tesseract/issues/2990 (although it does not replace the `exit()` calls – yet). @kba will provide an easily reproducable example of such failing assertions. (My current case is more special...

To be used in conjunction with https://github.com/tesseract-ocr/tesseract/pull/4420 – which hopefully will get merged in some form, ultimately. There may be more functions that need exception conversion. Example result: ``` 15:36:15.156...

I am often experiencing results with invalid (self-intersecting) polygons. Often, it suffices to run `ocrd-segment-repair` as follow-up processor, which uses OCR-D core's PageValidator to detect errors and then does some...

The error I got by calling `cvtColor` as it was: ``` OpenCV(4.8.0) /io/opencv/modules/imgproc/src/color.simd_helpers.hpp:92: error: (-2:Unspecified error) in function 'cv::impl::{anonymous}::CvtHelper::CvtHelper(cv::InputArray, cv::OutputArray, int) [with VScn = cv::impl::{anonymous}::Set; VDcn = cv::impl::{anonymous}::Set; VDepth =...

on the way to our refactoring: I think this must happen now. We had decentralised resources for a while now. No-one is using the central ones (they are either out-of-date...