TGTGInsighttelegram intelligenceLIVE / telegram public index
← Python Заметки

TGINSIGHT SIMILAR POSTS

Најди сличен содржај

Изворен канал @pythonotes · Post #234 · 9 апр.

🤩Разбираем полезные исходники! Функция, возвращающая словарь с данными о панели задач. screen : номер монитора location : расположение на экране (внизу, слева и тд) geometry : QRect с координатами таскбара system_tray : доступен ли системный трей 🔸 Как может пригодиться? Я использую для открытия виджета по клику на значке в трее с выравниванием по таскбару. Аналогично работает попап у Dropbox клиента. 🔸 Тестил на Windows10 и Debian10. 🔸 В комплекте проверочный виджет который при создании точно перекрывает таскбар. Проверка правильности определения геометрии таскбара. Закрывается по клику. 🔸 Ещё в комплекте пример окошка, которое появляется в районе часов над таскбаром. 🔸 Есть один баг. При перекрытии тасбара в Gnome (linux) виджет не получает событий от мыши. Решения пока не нашел😕 Код забираем здесь ↗️ #source#qt

Hashtags

Резултати

Пронајдени 1 слични објави

Пребарај: #tfdeploy

当前筛选 #tfdeploy清除筛选
djangoproject

@djangoproject · Post #274 · 18.03.2017 г., 01:48

https://github.com/riga/tfdeploy Google's TensorFlow framework is taking off big-time now that it's at a full 1.0 release. One common question about it: How can I make use of the models I train in TensorFlow without using TensorFlow itself? #Tfdeploy is a partial answer to that question. It exports a trained TensorFlow model to "a simple #NumPy-based callable," meaning the model can be used in Python with Tfdeploy and the the NumPy math-and-stats library as the only dependencies. Most of the operations you can perform in TensorFlow can also be performed in Tfdeploy, and you can extend the behaviors of the library by way of standard Python metaphors (such as overloading a class). Now the bad news: Tfdeploy doesn't support GPU acceleration, if only because NumPy doesn't do that. Tfdeploy's creator suggests using the gNumPy project as a possible replacement. #Machine_learning