I have created a DynamicTemporalSignal dataset which takes torch tensors e.g. for the target.
Within the DynamicTemporalSignal implementation, I run into the error 'torch.dtype' object has no attribute 'kind', which is triggered in the get_target funciton, in the code fragment 'self.targets[time_index].dtype.kind == "f"'.
In the example data, they have the same datatype, but not multiple targets.
Could you please help me on how I could resolve the issue? Thank you very much!
Hello,
I have created a DynamicTemporalSignal dataset which takes torch tensors e.g. for the target.
Within the DynamicTemporalSignal implementation, I run into the error 'torch.dtype' object has no attribute 'kind', which is triggered in the get_target funciton, in the code fragment 'self.targets[time_index].dtype.kind == "f"'. In the example data, they have the same datatype, but not multiple targets.
Could you please help me on how I could resolve the issue? Thank you very much!
My code can be found here: https://github.com/NadineAngermeier/OPF-PyGTemp