Skip to content

ModuleNotFoundError: No module named 'tf' in convert_tensorflow.py #285

Open
@Learner00100

Description

@Learner00100

changed current working directory tf.
and while running below command
python3 ./convert_tensorflow.py --net_type RFB|slim

getting this error
Traceback (most recent call last):
File "/content/Ultra-Light-Fast-Generic-Face-Detector-1MB/tf/convert_tensorflow.py", line 5, in
from tf.backend.utils import load_weight
ModuleNotFoundError: No module named 'tf'

i tried
import tensorflow as tf or changing all tf to tensorflow but getting same error no module named as ....

is convert_tensorflow.py code have any error?
import sys is thier in code, but it is not used anywhere

kindly help me to slove issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions