Re: A program that does OCR(Optical Character Recognition) inspired by Neural Networks
On Monday, 9 December 2019 at 01:58:10 UTC, Mathias Lang wrote: Nice work! You might want to take a look at the MNIST database ( https://en.wikipedia.org/wiki/MNIST_database) which is freely available and commonly used to train neural network. It will also allow you to benchmark your implementation against other algorithms. Ahh, thank you very much, I've just saved the link to this database and I've just downloaded it.
Re: A program that does OCR(Optical Character Recognition) inspired by Neural Networks
Nice work! You might want to take a look at the MNIST database ( https://en.wikipedia.org/wiki/MNIST_database) which is freely available and commonly used to train neural network. It will also allow you to benchmark your implementation against other algorithms. On Fri, Dec 6, 2019 at 10:07 AM Murilo via Digitalmars-d-announce < digitalmars-d-announce@puremagic.com> wrote: > Hi everyone. I've spent the last weeks working on a program which > is able to read and understand text from an image file(OCR) by > using a rudimentary neural network after training with a large > amount of images(I made them myself, manually). It even shows a > map of all the parts of the images that have the highest synaptic > weights(warmer colors). It was made purely in D using the arsd > library. Below is the link to it if you wish to take a look. For > now it only understands upper case letters from the English > alphabet. I'll be adding more over time. Cheers. > https://github.com/MuriloMir/Optical-Character-Recognition >
mysql-native v3.0.0: Update from `vibe-d:core` to `vibe-core`
The mysql-native package is a native all-D client library for MySQL and MariaDB. If vibe-d is included in your project, it will use vibe-d networking, otherwise it will use Phobos networking. https://github.com/mysql-d/mysql-native In this update, mysql-native's vibe-d support has switched from the old `vibe-d:core` package to the new `vibe-core` package. Several other improvements are included as well. See the changelog for details: < https://github.com/mysql-d/mysql-native/blob/master/CHANGELOG.md >. Big thanks to @SingingBush and @schveiguy for their contributions in this release. On the near horizon, work on v3.1.0 and v4.0.0 is already well underway which will make much of mysql-native @safe. This is necessitating a change away from using Phobos's Variant for data, but we think this will be well worth it as the new replacement offers a much nicer API. And of course, effort is being made to make migrating go as smoothly and simply as possible.
Re: during: a io_uring wrapper library
On Sunday, 8 December 2019 at 10:35:24 UTC, tchaloupka wrote: Main difference with C liburing echo server is that we're using preregistered IO buffer so the kernel has less work with it. Otherwise it should perform similarly. [1] https://github.com/tchaloupka/during [2] https://github.com/axboe/liburing [3] https://github.com/tchaloupka/during/tree/master/examples/echo_server I like the range interface.
DIP 1024---Shared Atomics---Final Review Begins
The Final Review for DIP 1024, "Shared Atomics", is now underway. Please do not leave any feedback in this thread, but rather in the review thread in the General forum: https://forum.dlang.org/post/ippdfqxnxbhxwzfdo...@forum.dlang.org
DIP 1026---Deprecate Context-Sensitive String Literals---Withdrawn
As a result of the feedback in the Community Review Round 1 discussion thread at https://forum.dlang.org/post/eevjgascbrqefbncc...@forum.dlang.org the DIP author has withdrawn the DIP from the review process. https://github.com/dlang/DIPs/blob/master/DIPs/other/DIP1026.md
during: a io_uring wrapper library
As of Linux kernel 5.1 new promissing io_uring interface was introduced (see introduction document https://kernel.dk/io_uring.pdf). During[1] is a low level wrapper directly around Linux `io_uring` interface and so isn't using more C-ish liburing[2]. Whole library is built as `nothrow @nogc` and works with `-betterC` too. Currently only features up to Linux 5.3 are tested. More would follow. For some basic idea how this can be performant, I've added a sample echo_server[3] to the library with these results: ``` C++ epoll echo server: == Benchmarking: localhost:5000 50 clients, running 512 bytes, 10 sec. Speed: 45063 request/sec, 45063 response/sec Requests: 450631 Responses: 450631 C liburing echo server: === Benchmarking: localhost:12345 50 clients, running 512 bytes, 10 sec. Speed: 95894 request/sec, 95894 response/sec Requests: 958942 Responses: 958941 During echo server: === Benchmarking: localhost:12345 50 clients, running 512 bytes, 10 sec. Speed: 131090 request/sec, 131090 response/sec Requests: 1310906 Responses: 1310904 ``` Main difference with C liburing echo server is that we're using preregistered IO buffer so the kernel has less work with it. Otherwise it should perform similarly. [1] https://github.com/tchaloupka/during [2] https://github.com/axboe/liburing [3] https://github.com/tchaloupka/during/tree/master/examples/echo_server