The example "Hot Dog" network was only trained with 30 images.
For better results using a larger training set for both "hot dog" and "not hot dog" is recommended.
Note that deep learning is a heuristic, it is rarely perfect, is just finds the most probably output for the input based on probabilities.