Open broCapang opened 7 months ago
apa version python
apa version python
Python 3.11.4
Mintak follow up
u need to test on version python3.11 and below python3.11
This error only occurs on Python 3.11 and newer as inspect.getargspec()
was removed in that version. While the modern solution is to use inspect.signature()
I have doubts of it working on versions <3.11.
This implementation seems like a good workaround to the deprecation warnings while also being stable, nanti saya akan test pakai Python <3.11 ok atau tidak
An error occurred while playing with the examples. in malaya\supervised\huggingface.py
Apparently inspect.getargspec has been deprecated. ref: https://github.com/pytorch/pytorch/issues/15344
Changes
replace inspect.getargspec with inspect.getfullargspec