Problem
AMD Ryzen 1600X sensors doesn't have a per core readout so the sed/awk script fails:
$ sensors
k10temp-pci-00c3
Adapter: PCI adapter
Tctl:         +56.6°C  
Tdie:         +36.6°C 
Proposed solution
Add a variable/option to use the Tdie readout instead.
In my case sensors | sed -n 's/Tdie:\s*+//p' is enough.