This error is not allowing to execute the code block. It is for all x values, I assume. A small sample of input file is:
885.1578446	853.76373	140.9727412	15.55450456	15.55337134	9.063145708	69.49995211	11.13333333	0
939.4253707	948.357865	81.31774203	12.96443946	12.96419467	6.272368526	64.36314993	5.6	1
898.1860468	907.00686	84.49723585	16.30527867	16.3052737	5.182201271	67.45006559	13.06666667	1
881.7578645	893.46003	90.37053724	15.72046849	15.72006806	5.748590592	68.8095618	11.8	0

The code is:
for epoch in range(2):
    print("\n==============================\n")
    print("Epoch = " + str(epoch))
    for (batch_idx, batch) in enumerate(train_ldr):
      print("\nBatch = " + str(batch_idx))
      X_train = batch['data']  
      Y_train = batch['Target']  
      print(X_train)
      print(Y_train)

A small sample output of data is
Epoch = 0

Batch = 0
tensor([[939.4254, 948.3578,  81.3177,  12.9644,  12.9642,   6.2724,  64.3632,
           5.6000],
        [848.6209, 851.5731,  57.8863,  14.1427,  14.1425,   4.0930,  71.0401,
           8.1333],
        [898.1860, 907.0068,  84.4972,  16.3053,  16.3053,   5.1822,  67.4501,
          13.0667]])
tensor([1, 1, 1])

Batch = 1
tensor([[973.2529, 964.6500,  82.4052,  10.6442,  10.6436,   7.7418,  62.0951,
           2.0000],
        [925.6989, 937.1903, 147.6703,  14.7563,  14.7563,  10.0073,  66.5943,
           8.3333],
        [811.1076, 799.7836, 101.2528,   8.4278,   8.4277,  12.0142,  74.9993,
           1.1333]])
tensor([0, 0, 0])