Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge upstream #62

Merged
merged 237 commits into from
Apr 11, 2020
Merged

Merge upstream #62

merged 237 commits into from
Apr 11, 2020

Conversation

lvapeab
Copy link
Collaborator

@lvapeab lvapeab commented Apr 11, 2020

Merge upstream. Fixes some bugs.

MichelleVivita and others added 28 commits October 8, 2019 11:54
* Use .format calls for string interpolation on utils

* Use generators over listcomps whenever possible to save memory
* Change `batch_size` descriptions to proper ones

Since there're no gradients updated during `evaulate` and `predict` processes, changed their `batch_size` docstrings from `"Number of samples per gradient update"` to `"Number of samples per evaluation step"` and `"Number of samples to be predicted at once"`. (The sentence in fit remains unchanged.)

I hope this fix would change related auto-generated documents as well.

* Correct `callbacks` description docstrings

Corrected `callbacks` description docstrings in `evaluate_generator` and `predict_generator`: "List of callbacks to apply during training" -> "- during evaluation", "- during prediction".
fix duplicate module name for callbacks module
I just fixed Numpy -> NumPy in HDF5Matrix class.
* Update pooling.py

Added Integer at the `pool_size` of `MaxPooling3D`

* Update pooling.py

Add Integer in `strides` and `pool_size` of 3D layers
Added "If None, it will default to `pool_size`." to be consistent with explanation of 1D, 2D layer

* Update pooling.py

`channels_first` ->`"channels_first"`
`channels_last` ->`"channels_last"`
  "channels_last"->`"channels_last"`
`channels_first` -> `'channels_first'`
`channels_last`, "channels_last" -> `'channels_last'`


data_format='channels_first' -> `data_format='channels_first'`
data_format='channels_last' -> `data_format='channels_last'`
* fix too many values to unpack error

In the example script lstm_seq2seq_restore.py and lstm_seq2seq.py, when
parse the data using line.split("\t"), it will return 3 values rather than
2, a simple modification can fix it.

* add blankspace around operator
# Conflicts:
#	.coveragerc
#	.travis.yml
#	README.md
#	examples/mnist_swwae.py
#	keras/backend/tensorflow_backend.py
#	keras/backend/theano_backend.py
#	keras/engine/training.py
#	keras/losses.py
#	keras/metrics.py
#	keras/optimizers.py
#	keras/wrappers/scikit_learn.py
#	setup.py
#	tests/integration_tests/test_temporal_data_tasks.py
#	tests/integration_tests/test_vector_data_tasks.py
#	tests/keras/engine/test_training.py
#	tests/keras/losses_test.py
#	tests/keras/metrics_test.py
#	tests/keras/test_sequential_model.py
@lvapeab lvapeab merged commit aa7174c into master Apr 11, 2020
@lvapeab lvapeab deleted the merge_upstream branch April 11, 2020 10:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.