Had this Node-RED, COCO-SSD, TensorFlow contraption out on the balcony hunting for birds today. Then was busy on some other project, and got this incoming.
So, not sure if the gizmo I made actually identified an airplane or it is confusing birds with planes! LOL
Anyway, I have heard so many "bad stories" about these AI algos are used for evil; but today it was really fun detecting various things and laughing at what my MacBook Air thought was a "airplane" or a "flower pot" or some other crazy idea from an image detection bot.....
IS there virus software for unix? I worked in a Solaris environment and dont remember having anything. I also ask because the current enviroment i am working on is Microsoft and they argue that they do not use unix because of virus detection. Any input would be greatly appreciated. (1 Reply)
How to get information that where is my modem configured in /dev.
I have two modems configured in my device .. one is USB and other is PCI modem.. USB is detected as /dev/USB0. but how to see about PCI modem? (0 Replies)
I am new to PHP and UNIX. I am using Apache to do my testing on a Windows Vista machine.
I am getting this error when I am trying to connect to a web service. I did a search and did not see any posts that pertain to this.
Here is my function:
<?php
function TRECSend($a, $b, $c, $d,... (0 Replies)
Hey, for the purpose of a research project I need to know if a specific type of parallel processing is being utilized by any user-run programs. Is there a way to detect whether a program either returns a value to another program at the end of execution, or just utilizes any form of parallel... (4 Replies)
How to initialize an object of class say "A", with an object of type say "B".
The following code give the error message "error: conversion from âAâ to non-scalar type âBâ requested"
#include <iostream>
using namespace std;
class B;
class A{
public:
A() { cout <<"\nA()" << endl; }
... (1 Reply)
I'm currently looking into ways to integrate the Telegram API into the forums:
Telegram Bots - Bot Code Examples
I'm thinking, first off, to use the Telegram API to get forum alerts and notifications (to Bot or Not?).
Second, I thinking of ways to more deeply integrate Telegram into the... (5 Replies)
I have just completed the first phase of integrating all these devices and technologies:
MQTT, Node-RED, Linux, Apache2, MySQL, PHP, Telegram, ESP32, ESP8266, and the Arduino Uno
The glue that binds all this together is MQTT. In fact, MQTT makes this kind of integration nearly trivial to... (1 Reply)
Yesterday, I announced the first release of a "Telegram Computer Trivia Bot" in this post:
Play Computer Trivia on Telegram
In this post, I will provide a high level overview of the application.
The main components in this application are:
Node-RED
LAMP (Linux, Apache2, MySQL, PHP)... (7 Replies)
Discussion started by: Neo
7 Replies
LEARN ABOUT MOJAVE
mpsnndefaultpadding
MPSNNDefaultPadding(3) MetalPerformanceShaders.framework MPSNNDefaultPadding(3)NAME
MPSNNDefaultPadding
SYNOPSIS
#import <MPSNeuralNetworkTypes.h>
Inherits NSObject, and <MPSNNPadding>.
Instance Methods
(NSString *__nonnull) - label
Class Methods
(instancetype __nonnull) + paddingWithMethod:
(instancetype __nonnull) + paddingForTensorflowAveragePooling
(instancetype __nonnull) + paddingForTensorflowAveragePoolingValidOnly
Method Documentation
- (NSString * __nonnull) label
Human readable description of what the padding policy does
+ (instancetype __nonnull) paddingForTensorflowAveragePooling
A padding policy that attempts to reproduce TensorFlow behavior for average pooling Most TensorFlow padding is covered by the standard
MPSNNPaddingMethod encodings. You can use +paddingWithMethod to get quick access to MPSNNPadding objects, when default filter behavior
isn't enough. (It often is.) However, the edging for max pooling in TensorFlow is a bit unusual.
This padding method attempts to reproduce TensorFlow padding for average pooling. In addition to setting MPSNNPaddingMethodSizeSame |
MPSNNPaddingMethodAlignCentered | MPSNNPaddingMethodAddRemainderToBottomRight, it also configures the filter to run with
MPSImageEdgeModeClamp, which (as a special case for average pooling only), normalizes the sum of contributing samples to the area of valid
contributing pixels only.
// Sample implementation for the tensorflowPoolingPaddingPolicy returned
-(MPSNNPaddingMethod) paddingMethod{ return MPSNNPaddingMethodCustom | MPSNNPaddingMethodSizeSame; }
-(MPSImageDescriptor * __nonnull) destinationImageDescriptorForSourceImages: (NSArray <MPSImage *> *__nonnull) sourceImages
sourceStates: (NSArray <MPSState *> * __nullable) sourceStates
forKernel: (MPSKernel * __nonnull) kernel
suggestedDescriptor: (MPSImageDescriptor * __nonnull) inDescriptor
{
((MPSCNNKernel *)kernel).edgeMode = MPSImageEdgeModeClamp;
return inDescriptor;
}
+ (instancetype __nonnull) paddingForTensorflowAveragePoolingValidOnly
Typical pooling padding policy for valid only mode
+ (instancetype __nonnull) paddingWithMethod: (MPSNNPaddingMethod) method
Fetch a well known object that implements a non-custom padding method For custom padding methods, you will need to implement an object
that conforms to the full MPSNNPadding protocol, including NSSecureCoding.
Parameters:
method A MPSNNPaddingMethod
Returns:
An object that implements <MPSNNPadding> for use with MPSNNGraphNodes.
Author
Generated automatically by Doxygen for MetalPerformanceShaders.framework from the source code.
Version MetalPerformanceShaders-100 Thu Feb 8 2018 MPSNNDefaultPadding(3)