@ -14,6 +14,14 @@
|
|||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
|
"""
|
||||||
|
Data functionality for my AAE implementation.
|
||||||
|
|
||||||
|
This module provides a function to prepare the training data.
|
||||||
|
|
||||||
|
Functions:
|
||||||
|
prepare_training_data(...): prepares the mnist training data
|
||||||
|
"""
|
||||||
import pickle
|
import pickle
|
||||||
from typing import Sequence
|
from typing import Sequence
|
||||||
from typing import Tuple
|
from typing import Tuple
|
||||||
|
|||||||
@ -17,14 +17,12 @@
|
|||||||
"""
|
"""
|
||||||
Training functionality for my AAE implementation.
|
Training functionality for my AAE implementation.
|
||||||
|
|
||||||
This module provides functions to prepare the training data and subsequently
|
This module provides a function to train a simple auto-encoder.
|
||||||
train a simple auto-encoder.
|
|
||||||
|
|
||||||
Attributes:
|
Attributes:
|
||||||
LOG_FREQUENCY: number of steps that must pass before logging happens
|
LOG_FREQUENCY: number of steps that must pass before logging happens
|
||||||
|
|
||||||
Functions:
|
Functions:
|
||||||
prepare_training_data(...): prepares the mnist training data
|
|
||||||
train_simple(...): trains a simple auto-encoder only with reconstruction loss
|
train_simple(...): trains a simple auto-encoder only with reconstruction loss
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
|||||||
Reference in New Issue
Block a user