Giter VIP home page Giter VIP logo

Comments (4)

EdwardSmith1884 avatar EdwardSmith1884 commented on May 18, 2024

Can you post errors you are getting when you run it?

from 3d-iwgan.

wang-ps avatar wang-ps commented on May 18, 2024
  1. tensorflow 2.0, python 2.7
    when installing tensorlayer, the error message is:

    ERROR: Could not find a version that satisfies the requirement scikit-image==0.15.0 (from tensorlayer) (from versions: 0.7.2, 0.8.0, 0.8.1, 0.8.2, 0.9.0, 0.9.1, 0.9.3, 0.10.0, 0.10.1, 0.11.2, 0.11.3, 0.12.0, 0.12.1, 0.12.2, 0.12.3, 0.13.0, 0.13.1, 0.14.0, 0.14.1, 0.14.2)
    ERROR: No matching distribution found for scikit-image==0.15.0 (from tensorlayer)

  2. tensorflow 1.13.0/1.12.0, python 2.7
    tensorlayer is not supported for tensorflow 1.13.0/1.12.0

  3. tensorflow 1.11.0, python 2.7
    tenserlayer is installed sucessfully.
    But when running the code, the error message is:

    Using TensorFlow backend.
    [TL] WARNING: Function: tensorlayer.layers.utils.set_name_reuse (in file: /usr/local/lib/python2.7/dist-packages/tensorlayer/layers/utils.py) is deprecated and will be removed after 2018-06-30.
    Instructions for updating: TensorLayer relies on TensorFlow to check name reusing

    [TL] WARNING: this method is DEPRECATED and has no effect, please remove it from your code.
    [TL] WARNING: this method is DEPRECATED and has no effect, please remove it from your code.
    [TL] WARNING: Function: tensorlayer.activation.leaky_relu (in file: /usr/local/lib/python2.7/dist-packages/tensorlayer/activation.py) is deprecated and will be removed after 2018-09-30.
    Instructions for updating: This API is deprecated. Please use as tf.nn.leaky_relu

    [TL] WARNING: this method is DEPRECATED and has no effect, please remove it from your code.
    [TL] WARNING: this method is DEPRECATED and has no effect, please remove it from your code.
    2019-06-01 02:25:57.873037: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 AVX512F FMA
    2019-06-01 02:26:00.116621: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1411] Found device 0 with properties:
    name: GeForce RTX 2080 Ti major: 7 minor: 5 memoryClockRate(GHz): 1.545
    pciBusID: 0000:af:00.0
    totalMemory: 10.73GiB freeMemory: 10.57GiB
    2019-06-01 02:26:00.222735: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1411] Found device 1 with properties:
    name: GeForce RTX 2080 Ti major: 7 minor: 5 memoryClockRate(GHz): 1.545
    pciBusID: 0000:d8:00.0
    totalMemory: 10.73GiB freeMemory: 10.57GiB
    2019-06-01 02:26:00.223478: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1490] Adding visible gpu devices: 0, 1
    2019-06-01 02:26:01.007506: I tensorflow/core/common_runtime/gpu/gpu_device.cc:971] Device interconnect StreamExecutor with strength 1 edge matrix:
    2019-06-01 02:26:01.007566: I tensorflow/core/common_runtime/gpu/gpu_device.cc:977] 0 1
    2019-06-01 02:26:01.007573: I tensorflow/core/common_runtime/gpu/gpu_device.cc:990] 0: N N
    2019-06-01 02:26:01.007579: I tensorflow/core/common_runtime/gpu/gpu_device.cc:990] 1: N N
    2019-06-01 02:26:01.007755: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1103] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:0 with 10202 MB memory) -> physical GPU (device: 0, name: GeForce RTX 2080 Ti, pci bus id: 0000:af:00.0, compute capability: 7.5)
    2019-06-01 02:26:01.149070: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1103] Created TensorFlow device (/job:localhost/replica:0/task:0/device:GPU:1 with 10202 MB memory) -> physical GPU (device: 1, name: GeForce RTX 2080 Ti, pci bus id: 0000:d8:00.0, compute capability: 7.5)
    Traceback (most recent call last):
    File "32-3D-IWGan.py", line 83, in
    tl.ops.set_gpu_fraction(sess=sess, gpu_fraction=0.998)
    AttributeError: 'module' object has no attribute 'ops'

So could you please provide the tensorflow version and all the dependencies for running the code?

from 3d-iwgan.

EdwardSmith1884 avatar EdwardSmith1884 commented on May 18, 2024

Yeah, I cloned the repo and tried to run for the first time in a while, and got the same. I will figure this out and update once I have a few cycles free. sorry for the wait

from 3d-iwgan.

mallorbc avatar mallorbc commented on May 18, 2024

For error three, I you can solve it by following the instructions in this other issue it seems. #6

from 3d-iwgan.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.