Hvass-Labs / TensorFlow-Tutorials

TensorFlow Tutorials with YouTube Videos
MIT License
9.28k stars 4.19k forks source link

scipy import and file_name fix #85

Closed taylorfturner closed 5 years ago

taylorfturner commented 6 years ago

1.) Fixing import scipy so the utilization of scipy.misc.imresize works correctly in _pre_process_image() in the reinforcement_learning.py file.

2.) Fix typo of file name in Reinforcement Learning notebook

Hvass-Labs commented 5 years ago

Thanks for the fixes.

1) The code runs fine for me, but I can see that it is strange that I import scipy.ndimage but actually uses scipy.misc.imresize. I wonder why I imported this. Maybe because I reused some code from my Deep Dream tutorial.

2) OK.

taylorfturner commented 5 years ago

@Hvass-Labs yeah the whole scipy.ndimage vs .scipy.misc.imresize threw me for a loop. Thanks for a great repo! This is a great resource!