Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
bcsherma committed Jan 16, 2024
1 parent eebb348 commit b9329ee
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion jobs/fashion_mnist_train/job.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,14 @@
import matplotlib.pyplot as plt
import numpy as np
import wandb

# To load the mnist data
from keras.datasets import fashion_mnist

# importing various types of hidden layers
from tensorflow.keras.layers import Conv2D, Dense, Flatten, MaxPooling2D
from tensorflow.keras.models import Sequential

# Adam legacy for m1/m2 macs
from tensorflow.keras.optimizers.legacy import Adam
from wandb.keras import WandbMetricsLogger
Expand Down Expand Up @@ -59,7 +62,6 @@ def train(project: Optional[str], entity: Optional[str], **kwargs: Any):
metrics=["sparse_categorical_accuracy"],
)
model.summary()

model.fit(
train_X,
train_y.astype(np.float32),
Expand Down

0 comments on commit b9329ee

Please sign in to comment.