Skip to content

Support Tensorflow 2#9

Open
Witiko wants to merge 1 commit intoHighVoltageRocknRoll:masterfrom
MIR-MU:master
Open

Support Tensorflow 2#9
Witiko wants to merge 1 commit intoHighVoltageRocknRoll:masterfrom
MIR-MU:master

Conversation

@Witiko
Copy link

@Witiko Witiko commented Aug 12, 2021

This PR adds support for Tensorflow 2 by trying to import tensorflow.compat.v1 and only importing tensorflow when the former raises an ImportError. This functionality is used in MIR-MU/ffmpeg-tensorflow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant