Closed
Description
I changed the preprocessing part
train_X = Float32.(features) |> gpu # dim: num_features * num_nodes
train_y = Float32.(labels) |> gpu # dim: target_catg * num_nodes
into
train_X = Matrix{Float32}(features) |> gpu # dim: num_features * num_nodes
train_y = Matrix{Float32}(labels) |> gpu # dim: target_catg * num_nodes
in order to avoid some GPU errors. However, the training function is stuck at epoch 1 even after many minutes.
model(train_X)
gives 56×1 array, but train_y
is 7×2708 array. Is there a problem with data dimension or reshaping?
thanks.
Metadata
Metadata
Assignees
Labels
No labels