Ok, I don't know if there are any official procedures to deal with this, but given this hypothetical situation, what would you do?
V1, VR etc. calculated based on a certain flap configuration
After V1 there begins an uncommanded retraction of the flaps
Probably die
NoD