Featured in deepsense.ai blog post Keras vs. PyTorch: Alien vs. Predator recognition with transfer learning, in which we discuss the differences. Code is in two Jupyter Notebooks:
See also the upcoming webinar (10 Oct 2018), in which we walk trough the code.
For plug&play interactive code, see the Neptune versions with fancy charts or these Kaggle Kernels:
- Transfer learning with ResNet-50 in Keras - Kaggle Kernel
- Transfer learning with ResNet-50 in PyTorch - Kaggle Kernel
See also: Alien vs. Predator images | Kaggle. In general, there are 447 images for each class, split into two classes. Examples:
If you want to run the code, see the requirements:
- Common:
- jupyter==1.0.0
- matplotlib==2.2.3
- Pillow==5.2.0
- h5py==2.8.0
- Keras:
- tensorflow==1.10.1
- Keras==2.2.2
- PyTorch:
- torch==0.4.1
- torchvision==0.2.1
- Link to the webinar (10 Oct 2018, 5 PM CEST)
- Slides from the webinar
- deepsense.ai's articles about Keras and PyTorch:
- Notebooks in Neptune
- Workshops: