enyac-group / single-path-nas

Single-Path NAS: Designing Hardware-Efficient ConvNets in less than 4 Hours
https://arxiv.org/abs/1904.02877
Apache License 2.0
396 stars 60 forks source link

[Fixed] AttributeError: module 'tensorflow.contrib' has no attribute 'lite' #20

Closed jsrimr closed 3 years ago

jsrimr commented 3 years ago

I encountered AttributeError: module 'tensorflow.contrib' has no attribute 'lite'

According to the https://www.tensorflow.org/versions/r1.15/api_docs/python/tf/lite/TFLiteConverter, we do not need .contrib to call .lite