TypeError: float() argument must be a string or a number, not 'ViolenceModel'

You could store the outputs of your CNN with the corresponding targets and pass them to the SVM classifier afterwards, as you won’t be able to train them end-to-end.