Hi suchith,
Thanks for replying!
Like I mentioned, I’ve been trying all sorts of modifications so a bit tough to keep track of, but the error I receive when running the posted code is as follows:
Traceback (most recent call last):
  File "d:/filepath.py", line 176, in <module>       
    train_batch = dataiter.next()
  File "C:\Users\rwils\Anaconda3\lib\site-packages\torch\utils\data\dataloader.py", line 435, in __next__
    data = self._next_data()
  File "C:\Users\rwils\Anaconda3\lib\site-packages\torch\utils\data\dataloader.py", line 475, in _next_data
    data = self._dataset_fetcher.fetch(index)  # may raise StopIteration
  File "C:\Users\rwils\Anaconda3\lib\site-packages\torch\utils\data\_utils\fetch.py", line 44, in fetch
    data = [self.dataset[idx] for idx in possibly_batched_index]
  File "C:\Users\rwils\Anaconda3\lib\site-packages\torch\utils\data\_utils\fetch.py", line 44, in <listcomp>
    data = [self.dataset[idx] for idx in possibly_batched_index]
  File "C:\Users\rwils\Anaconda3\lib\site-packages\torch\utils\data\dataset.py", line 272, in __getitem__
    return self.dataset[self.indices[idx]]
  File "filepath.py", line 65, in __getitem__     
    X_data = self.transform(X_data)
  File "filepath.py", line 122, in __call__       
    return (sample - self.mean_)/self.scale_
TypeError: unsupported operand type(s) for -: 'float' and 'NoneType'

Thanks and cheers!