Comments (5)
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.
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.
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.
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.
Stale issue message
from deephar.
Related Issues (20)
- Testing Script File : Testing script is not Present HOT 1
- Question about action recognition on NTU HOT 11
- Training hyperparameters for train_penn_multimodel.py HOT 2
- Is the model working for multiple person on a crowded scene ? (Not issue) HOT 1
- Weights for predict bboxes on NTU HOT 2
- No weights provided for the multitask models HOT 3
- Questions regarding Pennaction folder HOT 2
- question about displaying output of pose estimation, action recognition HOT 2
- Training on my dataset HOT 1
- could the network be trained with only action video but no pose images/video? HOT 4
- a quick demo for action recognition HOT 4
- something wrong about the eval_penn_multitask.py HOT 2
- eval_penn_ar_pe_merge.py error HOT 1
- Visualization Issue
- ModuleNotFoundError
- Question about datasets and annotations HOT 2
- Training on custom dataset HOT 1
- Error while training penn mpii multimodel HOT 2
- General question with resepect to paper HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deephar.