Code Monkey home page Code Monkey logo

Comments (3)

thmoa avatar thmoa commented on June 30, 2024 4

Please use the configuration from requirements.txt and feel free to submit a PR. Thanks.

from octopus.

JamesDevGuru avatar JamesDevGuru commented on June 30, 2024

Thank you for in detail response
I run below command and attached result all requirements installed.
pip install -r requirements.txt
Just i need could your recommendation about OS,..... Witch OS or platform you tested this project?

(venv) admin@adminlab:~/VFS/octopus$ pip install -r requirements.txt
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
Requirement already satisfied: scipy>=1.0.0 in /home/admin/VFS/venv/lib/python2.7/site-packages (from -r requirements.txt (line 1)) (1.2.2)
Requirement already satisfied: numpy>=1.16 in /home/admin/VFS/venv/lib/python2.7/site-packages (from -r requirements.txt (line 2)) (1.16.4)
Requirement already satisfied: Keras>=2.2.0 in /home/admin/VFS/venv/lib/python2.7/site-packages (from -r requirements.txt (line 3)) (2.2.4)
Requirement already satisfied: tensorflow_gpu>=1.11.0 in /home/admin/VFS/venv/lib/python2.7/site-packages (from -r requirements.txt (line 4)) (1.14.0)
Requirement already satisfied: dirt in /home/admin/VFS/dirt (from -r requirements.txt (line 5)) (0.3.0)
Requirement already satisfied: keras-applications>=1.0.6 in /home/admin/VFS/venv/lib/python2.7/site-packages (from Keras>=2.2.0->-r requirements.txt (line 3)) (1.0.8)
Requirement already satisfied: keras-preprocessing>=1.0.5 in /home/admin/VFS/venv/lib/python2.7/site-packages (from Keras>=2.2.0->-r requirements.txt (line 3)) (1.1.0)
Requirement already satisfied: h5py in /home/admin/VFS/venv/lib/python2.7/site-packages (from Keras>=2.2.0->-r requirements.txt (line 3)) (2.9.0)
Requirement already satisfied: pyyaml in /home/admin/VFS/venv/lib/python2.7/site-packages (from Keras>=2.2.0->-r requirements.txt (line 3)) (5.1.2)
Requirement already satisfied: six>=1.9.0 in /usr/lib/python2.7/dist-packages (from Keras>=2.2.0->-r requirements.txt (line 3)) (1.11.0)
Requirement already satisfied: grpcio>=1.8.6 in /home/admin/VFS/venv/lib/python2.7/site-packages (from tensorflow_gpu>=1.11.0->-r requirements.txt (line 4)) (1.23.0)
Requirement already satisfied: mock>=2.0.0 in /home/admin/VFS/venv/lib/python2.7/site-packages (from tensorflow_gpu>=1.11.0->-r requirements.txt (line 4)) (3.0.5)
Requirement already satisfied: tensorboard<1.15.0,>=1.14.0 in /home/admin/VFS/venv/lib/python2.7/site-packages (from tensorflow_gpu>=1.11.0->-r requirements.txt (line 4)) (1.14.0)
Requirement already satisfied: wrapt>=1.11.1 in /home/admin/VFS/venv/lib/python2.7/site-packages (from tensorflow_gpu>=1.11.0->-r requirements.txt (line 4)) (1.11.2)
Requirement already satisfied: protobuf>=3.6.1 in /home/admin/VFS/venv/lib/python2.7/site-packages (from tensorflow_gpu>=1.11.0->-r requirements.txt (line 4)) (3.9.1)
Requirement already satisfied: gast>=0.2.0 in /home/admin/VFS/venv/lib/python2.7/site-packages (from tensorflow_gpu>=1.11.0->-r requirements.txt (line 4)) (0.2.2)
Requirement already satisfied: wheel in /home/admin/VFS/venv/lib/python2.7/site-packages (from tensorflow_gpu>=1.11.0->-r requirements.txt (line 4)) (0.33.6)
Requirement already satisfied: termcolor>=1.1.0 in /home/admin/VFS/venv/lib/python2.7/site-packages (from tensorflow_gpu>=1.11.0->-r requirements.txt (line 4)) (1.1.0)
Requirement already satisfied: absl-py>=0.7.0 in /home/admin/VFS/venv/lib/python2.7/site-packages (from tensorflow_gpu>=1.11.0->-r requirements.txt (line 4)) (0.7.1)
Requirement already satisfied: tensorflow-estimator<1.15.0rc0,>=1.14.0rc0 in /home/admin/VFS/venv/lib/python2.7/site-packages (from tensorflow_gpu>=1.11.0->-r requirements.txt (line 4)) (1.14.0)
Requirement already satisfied: google-pasta>=0.1.6 in /home/admin/VFS/venv/lib/python2.7/site-packages (from tensorflow_gpu>=1.11.0->-r requirements.txt (line 4)) (0.1.7)
Requirement already satisfied: backports.weakref>=1.0rc1 in /home/admin/VFS/venv/lib/python2.7/site-packages (from tensorflow_gpu>=1.11.0->-r requirements.txt (line 4)) (1.0.post1)
Requirement already satisfied: enum34>=1.1.6 in /usr/lib/python2.7/dist-packages (from tensorflow_gpu>=1.11.0->-r requirements.txt (line 4)) (1.1.6)
Requirement already satisfied: astor>=0.6.0 in /home/admin/VFS/venv/lib/python2.7/site-packages (from tensorflow_gpu>=1.11.0->-r requirements.txt (line 4)) (0.8.0)
Requirement already satisfied: futures>=2.2.0; python_version < "3.2" in /home/admin/VFS/venv/lib/python2.7/site-packages (from grpcio>=1.8.6->tensorflow_gpu>=1.11.0->-r requirements.txt (line 4)) (3.3.0)
Requirement already satisfied: funcsigs>=1; python_version < "3.3" in /home/admin/VFS/venv/lib/python2.7/site-packages (from mock>=2.0.0->tensorflow_gpu>=1.11.0->-r requirements.txt (line 4)) (1.0.2)
Requirement already satisfied: setuptools>=41.0.0 in /home/admin/VFS/venv/lib/python2.7/site-packages (from tensorboard<1.15.0,>=1.14.0->tensorflow_gpu>=1.11.0->-r requirements.txt (line 4)) (41.1.0)
Requirement already satisfied: werkzeug>=0.11.15 in /home/admin/VFS/venv/lib/python2.7/site-packages (from tensorboard<1.15.0,>=1.14.0->tensorflow_gpu>=1.11.0->-r requirements.txt (line 4)) (0.15.5)
Requirement already satisfied: markdown>=2.6.8 in /home/admin/VFS/venv/lib/python2.7/site-packages (from tensorboard<1.15.0,>=1.14.0->tensorflow_gpu>=1.11.0->-r requirements.txt (line 4)) (3.1.1)

from octopus.

VisionaryMind avatar VisionaryMind commented on June 30, 2024

As of January, 2022, this repository is still broken. No versions of Tensorflow + Keras above 1.11 will run properly. Consistent errors are seen, depending on what versions are chosen together. Multiple times, users here have asked which TF + Keras configuration is required, stating that the requirements.txt is not explicit enough and / or incorrect. It's unfortunate that others cannot use this very useful project because of an inability of the project owners to communicate dependencies properly.

This code is not running on any of the TF + Keras combinations tried (and I have tried them all from 1.13 all the way up to 2.7 TF). We need to know, specifically, which ones you used to write the code. Currently, I am testing with TF-GPU 1.13.1 and Keras 2.2.4, and the following error is seen:

AttributeError: module 'keras.utils.generic_utils' has no attribute 'populate_dict_with_module_objects'

If I upgrade to TF-GPU 2.7.0 and Keras 2.7.0, then we have the problem with the hd5-format changing in the new(er) Keras versions. That manifests as:

 f'Shape mismatch in layer #{k} (named {layer.name}) for weight '
ValueError: Shape mismatch in layer #5 (named conv2d_1) for weight conv2d_1/kernel:0. Weight expects shape (3, 3, 8, 16). 
Received saved weight with shape (8, 3, 3, 3)

But, as I have mentioned above, going backward on that version in order to have it work with your code is also hit or miss (and mostly miss). I and many other people here have not found a workaround. It's either this project or Neuralbody --- and the prospect of training a model for days just to get a poorly shaped mesh is not very appealing. This project looks to be more efficient (and faster).

from octopus.

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.