pmh47 / dirt

DIRT: a fast differentiable renderer for TensorFlow
MIT License
313 stars 63 forks source link

support tensorflow2.0? #56

Open RanFeng opened 4 years ago

RanFeng commented 4 years ago

it will support tensorflow 2.0? thanks for your reply!

pmh47 commented 4 years ago

Sorry for the very slow reply! Yes, DIRT itself works in tf 2.0/2.1; 91a05fc fixes tests/square_test.py to be tf2 compatible, meaning the standard install-and-test procedure now works for 1.x or 2.x. The samples are still written for tf 1.x, but are trivial to change.