Author: josmx

UnsatisfiableError: The following specifications were found to be in conflict: keras pil

>conda install -c anaconda pil Solving environment: failed UnsatisfiableError: The following specifications were found to be in conflict: – keras – pil Use “conda info <package>” to see the dependencies for each package.   Workaround: conda install pillow “Pillow is the “friendly PIL fork” by Alex Clark and Contributors. PIL is the Python Imaging Library by…

Read the full article setup and dataset dir

Downloaded dataset from here: And to use it modified: X:\Anaconda3\envs\ENV_NAME\Lib\site-packages\keras\datasets #dirname = ‘cifar-10-batches-py’ dirname = ‘X:\Anaconda3\envs\ENV_NAME\Lib\site-packages\keras\datasets\cifar-10-batches-py’

How to install Tensorflow in an Anaconda virtual environment – Mac

So I have Anaconda installed and wanted to install TensorFlow as well (I’m using PyCharm): I tried installing TensorFlow with Conda as per official doc: conda create -n tensorflow pip python=3.6 source activate tensorflow pip install –ignore-installed –upgrade However when creating a new virtual environment in PyCharm you need to make sure TensorFlow…

Read the full article

How to add you xcode project to github

So you created a brand new xcode project and selected a local repository and are wondering how to add it to github? Fear not, below steps to make it happen: Summary: Navigate to the path of your xcode project and run: git remote add foodTracker Pull the changes Git will complain of “fatal: refusing…

Read the full article

How to enable locate command in Mac

  sudo launchctl load -w /System/Library/LaunchDaemons/ For more ways to use find and locate check this nice article:

Checking what your Mac is loading at startup and userlogon

Summary from: Apps loaded at startup /Library/StartupItems /Library/LaunchDaemons /System/Library/LaunchDaemons User (ran at user logon):  ~/Library/LaunchAgents Found this guy: Google updater, decided to keep it, but if you want to read mode try this post /Library/LaunchAgents/ /System/Library/LaunchAgents/ Crons: crontab -l Kernell extensions kextstat | grep YOUR_QUERY Login and LogOut Hooks: defaults read LoginHook defaults…

Read the full article

Keras 2 API tips

“Old” Keras Dense declaration in Keras 2 API : model.add(Dense(11, input_dim=11, init=”uniform”, activation=”relu”)) is now: Dense(11, input_dim=11, activation=”relu”, kernel_initializer=”uniform”) If when adding you TypeError: add() got an unexpected keyword argument ‘init’   UserWarning: The `nb_epoch` argument in `fit` has been renamed `epochs`. warnings.warn(‘The `nb_epoch` argument in `fit` ‘

How to install nltk (Windows and Mac)

If you are getting this error: ‘tokenizers/punkt/PY3/english.pickle’ Most likely is because you haven’t downloaded necessary nltk packages, don’t worry is quite easy: Open a terminal (cmd in Windows) Run Python by typing in the terminal Window python then write everything belo conda install -c anaconda nltk import nltk Look for a new program that will…

Read the full article