Skip to content

Commit

Permalink
Test on Python 2.x not anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
lvapeab committed Mar 31, 2020
1 parent 2d8a3d6 commit c05de94
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
4 changes: 0 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,8 @@ matrix:
include:
- python: 3.6
env: TEST_MODE=PEP8
- python: 2.7
env: TEST_MODE=GENERAL
- python: 3.6
env: TEST_MODE=GENERAL
- python: 2.7
env: TEST_MODE=EXTRA
- python: 3.6
env: TEST_MODE=EXTRA

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Multimodal Keras Wrapper
Wrapper for Keras with support to easy multimodal data and models loading and handling.

[![PyPI version](https://badge.fury.io/py/multimodal-keras-wrapper.svg)](https://badge.fury.io/py/multimodal-keras-wrapper) [![Build Status](https://travis-ci.org/lvapeab/multimodal_keras_wrapper.svg?branch=master)](https://travis-ci.org/lvapeab/multimodal_keras_wrapper) [![Requirements Status](https://requires.io/github/lvapeab/multimodal_keras_wrapper/requirements.svg?branch=master)](https://requires.io/github/lvapeab/multimodal_keras_wrapper/requirements/?branch=master) ![Compatibility](https://img.shields.io/badge/Python-2.7%2F3.7-blue.svg) [![license](https://img.shields.io/github/license/mashape/apistatus.svg)](https://github.com/lvapeab/multimodal_keras_wrapper/blob/master/LICENSE)
[![PyPI version](https://badge.fury.io/py/multimodal-keras-wrapper.svg)](https://badge.fury.io/py/multimodal-keras-wrapper) [![Build Status](https://travis-ci.org/lvapeab/multimodal_keras_wrapper.svg?branch=master)](https://travis-ci.org/lvapeab/multimodal_keras_wrapper) [![Requirements Status](https://requires.io/github/lvapeab/multimodal_keras_wrapper/requirements.svg?branch=master)](https://requires.io/github/lvapeab/multimodal_keras_wrapper/requirements/?branch=master) ![Compatibility](https://img.shields.io/badge/Python-3.6-blue.svg) [![license](https://img.shields.io/github/license/mashape/apistatus.svg)](https://github.com/lvapeab/multimodal_keras_wrapper/blob/master/LICENSE)

## Documentation

Expand Down
6 changes: 4 additions & 2 deletions keras_wrapper/extra/callbacks.py
Original file line number Diff line number Diff line change
Expand Up @@ -968,8 +968,10 @@ def evaluate(self, epoch, counter_name='epoch'):
self.best_score = current_score
self.wait = 0
if self.verbose > 0:
logger.info('---current best %s %s: %.3f' % (
self.check_split, self.metric_check, current_score if not self.want_to_minimize else -current_score))
logger.info('---current best %s %s: %.3f' % (self.check_split,
self.metric_check,
current_score if not self.want_to_minimize
else -current_score))

# Stop training if performance has not improved for self.patience epochs
elif self.patience > 0:
Expand Down

0 comments on commit c05de94

Please sign in to comment.