mjbhobe / dl-pytorch

Deep Learning with Pytorch
MIT License
9 stars 3 forks source link

torchmetrics has a new parameter called task leading to errors when using 'acc' in metrics. when using for tabular data there are issues with numpy relating to np.int which no longer works #2

Open Amirtesh opened 2 months ago

Amirtesh commented 2 months ago

Please update the pytorch_toolkit.py file with task parameter in accuracy

mjbhobe commented 2 weeks ago

Hi Amirtesh, I am aware of this issue. In fact there are many more limitations of the pytorch_toolkit.py file. So I completely re-wrote a newer version - please refer to the tutorial of newer version. I have yet to make this into a PyPl module, but it addresses the issue you have pointed out. As before, please treat this as work in progress and use at your own risk!!

Amirtesh commented 2 weeks ago

Thank you so much for taking the time to reply. I will look into the new version immediately.

On Sun, Aug 25, 2024 at 2:03 AM Manish Bhobe @.***> wrote:

Hi Amirtest, I am aware of this issue. In fact there are many more limitations of the pytorch_toolkit.py file. So I completely re-wrote a newer version - please refer to the tutorial of newer version https://github.com/mjbhobe/dl-pytorch/blob/master/tutorial/tutorial.md. I have yet to make this into a PyPl module, but it addresses the issue you have pointed out. As before, please treat this as work in progress and use at your own risk!!

— Reply to this email directly, view it on GitHub https://github.com/mjbhobe/dl-pytorch/issues/2#issuecomment-2308529545, or unsubscribe https://github.com/notifications/unsubscribe-auth/BGXMOH2W4O2EXTD3DTZGMFTZTDUZ3AVCNFSM6AAAAABKS3VTTSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMBYGUZDSNJUGU . You are receiving this because you authored the thread.Message ID: @.***>