Teachable machine on PC - tensorflow

Hi there i am pretty new to programming, but is it possible to use Google's teachable machine in command prompt on PC? Or it is a special application?
My plan is that.
One folder contains the image 1
Other Folder contains image 2
Then it teaches it self with the images in folder two
Then i have a third folder and only keep the images the third folder which are 50% more likely image 1 or image 2.
Just like on their website but in local pc, and mass scale.
Is it possible or it is too hard just asking :D
https://teachablemachine.withgoogle.com/train/image

Related

I can't remove a folder from the sync list because I'm using too much space

I have a 1tb SSD for my OS hard drive and then a regular HD as a second hard drive. OneDrive appears to default to my Users/OneDrive folder and doesn't seem to have a way to change that. So what I've done is I created a symlink from the OneDrive folder to my second HD where I have 700+ MB of family pictures and videos. OneDrive doesn't realize this is what I've done so it sees that my SSD has more than 1TB of used space because it thinks all the pictures and videos are stored there. I can't stop syncing some of the other folders in one drive because of that. I have a few folders in OneDrive that I don't really need or want on my computer so I'd like to tell my computer to ignore those folders but because OneDrive thinks I'm syncing more data than my SSD can hold it won't let me stop syncing those folders. Does anyone know what I can do to stop syncing those folders?

Is initial save to local drive more resilient than using network drive

I would like to create 100 different reports - they all need to initially be saved to one location - then they need to be distributed to various locations on our network drive.
An Excel vba program is creating the files from an xlsm file saved on the network drive.
Which of the following approaches is more resiliant/defensive?
1.Save 100 files to C-Drive of machine running the code - then distribute to 100 different locations on the network drive.
2.Save 100 files to same network location where controlling xlsm file is located - then distribute to 100 different locations on the network drive.
Well... that depends. How good is your network? =;)-
When faced with this situation, I tend to write local and them move them after the fact. In my experience, this is more reliable and faster.(Assuming you're using a cut/paste action and not a copy/paste action. Copy/paste is terribly slow.)
Now, that said, I would actually prefer to just write directly to the network drive. It's less code, less bugs, less chance for things to go wrong... IF you have a reliable network.

In OSX (Mountain Lion) Only allowing an application to open if a condition is met

Is there any simple way to do this?
I basically want iTunes to not open if an external hard drive is not connected. This is essentially a user issue - as despite asking multiple times, my girlfriend will forget and open an audio or video file without the external HDD connected (where the iTunes library is kept) and so the usual rigamarole occurs... the media file will then try and add itself to the iTunes library, which can't be found, so it'll default back to it's position on the internal hard disk, and then when I come to use it, it'll try and consolidate it for me (which is nice), except it then decides it needs to organise it - and this takes about 6 hours due to the amount of music I have on there.
I've tried changing the internal (default) iTunes music folder path to an alias to the external one, but that starts throwing out some beastly errors once you get into the loop (when the alias is essentially a pointer to an invalid location).
Is Automator something that could be used? Sorry I'm not very pro with OS X I'm afraid.
Thanks,
Duncan
It seems a straightforward way to do this is just to move the iTunes.app onto the external hard drive, and replace iTunes.app in the Applications folder with an alias pointing to iTunes on the external HDD (called iTunes).
As iTunes is system protected, you'll need to change the permissions of iTunes.app to move it, which you can do via gui or terminal (sudo chmod...)
Simples.

Can I create an AIR app which will only run with the provided CD?

I'm looking to make an AIR application. However, unlike the normal distro, I want to sell these on a CD. I want the AIR app to only be able to be run when the CD is in the CD drive (I don't care that people can hack around this, its the default behavior I want) Does anyone know if this is possible?
You can get drive list with:
var drives:Array = File.getRootDirectories();
Next, you want to check ones with spaceAvailable = 0 if they contain files like on your CD. If the disk isn't in the drive, drive will not be listed in array.

ScanSnap Integration

I am currently trying to figure out how to integrate with the fujitsu scansnap scanner and have found no details from fujitsu on how the fujitsu scansnap manager calls your application and send the file to your application.
1.) do the pass a parameter with the filename when they launch your process?
2.) do you just have to look in the target directory?
If anyone has information regarding this type of integration or knows where to get the "white paper" information, I would really appreciate it.
Thanks.
You have 2 options, the old XP and model right after that (the larger multi paper models) would pass the temp file their file was saved to as the first parameter after the exe name on a custom program -- otherwise yes you can just scan the scan folder, make sure to move the file after it's done scanning so you don't view it again.