Giter Site home page Giter Site logo

run.sh is killed about deephar HOT 5 CLOSED

YeeHoran avatar YeeHoran commented on August 25, 2024
run.sh is killed

from deephar.

Comments (5)

dluvizon avatar dluvizon commented on August 25, 2024

Hi @YeeHoran ,
Please check the file requirements.txt and double check your environment. It seems you are using a different version of Keras and that your tensorflow is not able to use the gpu.

from deephar.

YeeHoran avatar YeeHoran commented on August 25, 2024

Dear @dluvizon

Thank you so much for your quick reply! And really the tensorflow is not enabled to use the gpu. In fact the version of the tools listed in requirement.txt are posted in the below:

numpy: 1.23.5
keras: 2.12.0
tensorflow-gpu: 2.12.0
pillow: 9.4.0
scipy: 1.10.0
h5py:3.7.0

It could be observed that they are all newer than the versions listed in the requirement.txt file. In my opinion, newer versions are backward compatible, so they could be used as well. Do you think this is correct, please?

Thank you for your kind support!

from deephar.

dluvizon avatar dluvizon commented on August 25, 2024

Hi, I'm pretty sure that it will not work. This code uses TF 1.x, which is quite often not compatible with TF 2.

from deephar.

YeeHoran avatar YeeHoran commented on August 25, 2024

Thank you so much again for your kind support @dluvizon,

Now I run it, but it stopped again, and present the following information:

File "/home/yihuo/Documents/deephar-master/exp/mpii/train_mpii_singleperson.py", line 94, in
model.fit_generator(data_tr,
File "/home/yihuo/anaconda3/lib/python3.10/site-packages/keras/src/engine/training.py", line 2810, in fit_generator
return self.fit(
File "/home/yihuo/anaconda3/lib/python3.10/sinceite-packages/keras/src/utils/traceback_utils.py", line 70, in error_handler
raise e.with_traceback(filtered_tb) from None
File "/home/yihuo/Documents/deephar-master/exp/common/mpii_tools.py", line 156, in on_epoch_end
scores = eval_singleperson_pckh(model, self.fval, self.pval,
File "/home/yihuo/Documents/deephar-master/exp/common/mpii_tools.py", line 67, in eval_singleperson_pckh
input_shape = model.get_input_shape_at(0)
RuntimeError: The layer model_1 has never been called and thus has no defined input shape.
./run.sh: line 52: 2374 Killed python3 exp/mpii/train_mpii_singleperson.py output/mpii_singleperson_trial-00_

Additionally, the log.txt is in Epoch 1/120, and since the end of the file shows 1073/1073, so may be now the problem is it runs out of ram, do you think this is right, please? Thank you!
log.txt

from deephar.

github-actions avatar github-actions commented on August 25, 2024

Stale issue message

from deephar.

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.