Skip to content

ImportError: cannot import name 'distributed_init' from 'tensorlayerx.backend.ops.load_backend' #77

Description

@AnsonCNS

New Issue Checklist

Issue Description

When running with tensorflow as backend, it gives this error which relates to the tensorlayerx package.

ImportError: cannot import name 'distributed_init' from 'tensorlayerx.backend.ops.load_backend'

I think the issue is caused by the add torch distribution commit, where there is no distributed_init() in tensorflow_backend.py.

Reproducible Code

  • Which OS are you using ? Windows 10, Python3.8, Cuda10.2,

  • Please provide a reproducible code of your issue. Without any reproducible code, you will probably not receive any help.

I'm trying to run the SRGAN project train.py --mode=eval with tensorflow as backend and with the given pretrained tensorflow weights.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions