Hi!, I encountered the problem with model-not-learning with

torch.cat((torch.tensor(x, dtype=torch.float32), torch.tensor(y, dtype=torch.float32)), 1)

in combine_vectors method

// Although it passes all the unit tests

But it works well with “torch.cat((x.float(), y.float()), dim = 1)”

Can somebody explain the difference"?

The tensor result is the same for the torch.tensor(x, dtype=torch.float32) and x.float()

#C1W4A_Build_a_Conditional_GAN

#UNQ_C2