Hmmm. DIY job then...
1. Please don't tell me that I can see brown, blue and yellow conductors without secondary insulation below the left hand VFD.... that was lazy, I rather think that you know that's an immediate fail but it's a consequence of:
2. What's the IP rating on those VFDs if the next owner were to run flood coolant on the machine ? In a workshop, they should be in a box.
It does look like you've used decent rubber flex for your cabling though. Points for that
My old 1949 L5 came with a 4kW 3ph motor replacement and a VFD. It took me a couple of hours to strip both and hoover the brass out of the insides because his electrical mate hadn't put the 1.5kW VFD in a box. He had also installed the motor with the cable entry into the top not bottom of the motor terminal box and had done some nightmare conduit job with plumbers fittings. It left an open end and he just loved cutting brass which gets everywhere ....
The rotor was scratched from all the brass swarf the motor had ingested.
The Yasakawa / Omron drive was actually a real quality piece of kit and cleaned up great but like yours it was meant to be installed in an enclosure.
Both were sold and the electrics replaced in their entirety
A tip for next time : Rather than using a 2 pole 2800 rpm motor which has less low speed torque, fit a 4 pole motor. This gives you higher torque at low speed and set your VFD up for a modest overspeed (say 70Hz) so that you can spin it up to 1.4 x 1440 = 2016 rpm. You get constant power but reduced torque above 50Hz (1440 rpm) but it doesn't matter there as you will be only be using max rpm to spin slender items fast for clean finishing cuts where the torque isn't so essential. As 4 pole and 2 pole motors are mechanically the same, a 4 pole motor will have no issue spinning up to 2800 rpm just like it's 2 pole sibling.
Some people hate motor swaps. I think there is far more room for dangerous errors adding a VFD without the proper knowledge or the attention to detail to do it right in order to protect the next owner of the machine.