Comments (2)
Yes, I believe it can run on your cpu only. Set the gpu flag to -1
from deeppose.
[Chus-MacBook-Pro:deeppose chumax$ bash shells/train_lsp.sh
2016-09-20 11:08:00,279 [INFO] sys.version_info(major=2, minor=7, micro=12, releaselevel='final', serial=0)
2016-09-20 11:08:00,279 [INFO] chainer version: 1.15.0.1
2016-09-20 11:08:00,279 [INFO] cuda: False, cudnn: False
2016-09-20 11:08:00,279 [INFO] Namespace(adam_alpha=0.001, adam_beta1=0.9, adam_beta2=0.999, adam_eps=1e-08, base_zoom=1.5, batchsize=128, channel=3, coord_normalize=True, epoch=101, fliplr=True, fname_index=0, gcn=True, gpus='-1', ignore_label=-1, im_size=220, img_dir='data/lspet_dataset/images', joint_index=1, lr=0.01, lr_decay_freq=10, lr_decay_ratio=0.1, min_dim=0, model='models/AlexNet.py', n_joints=14, opt='Adam', resume_model=None, resume_opt=None, resume_param=None, rotate=True, rotate_range=10, seed=1701, show_log_iter=10, snapshot=10, symmetric_joints='[[8, 9], [7, 10], [6, 11], [2, 3], [1, 4], [0, 5]]', test_csv_fn='data/lspet_dataset/test_joints.csv', test_freq=10, train_csv_fn='data/lspet_dataset/train_joints.csv', translate=True, translate_range=5, valid_freq=5, weight_decay=0.0005, zoom=True, zoom_range=0.2)
2016-09-20 11:08:27,380 [INFO] data/lspet_dataset/train_joints.csv is ready
2016-09-20 11:08:30,394 [INFO] data/lspet_dataset/test_joints.csv is ready
Process Process-3:
Traceback (most recent call last):
File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
self.run()
File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/multiprocessing/process.py", line 114, in run
self._target(*self._args, **self._kwargs)
File "/usr/local/lib/python2.7/site-packages/chainer/iterators/multiprocess_iterator.py", line 163, in _worker
Process Process-1:
Traceback (most recent call last):
File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
self.run()
File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/multiprocessing/process.py", line 114, in run
self._target(*self._args, **self._kwargs)
File "/usr/local/lib/python2.7/site-packages/chainer/iterators/multiprocess_iterator.py", line 163, in _worker
out_queue.put(dataset[index])
File "/usr/local/lib/python2.7/site-packages/chainer/dataset/dataset_mixin.py", line 31, in __getitem__
out_queue.put(dataset[index])
File "/usr/local/lib/python2.7/site-packages/chainer/dataset/dataset_mixin.py", line 31, in __getitem__
return self.get_example(index)
File "/Users/chumax/Documents/PhD_Research/Example/deeppose/scripts/dataset.py", line 169, in get_example
return self.get_example(index)
File "/Users/chumax/Documents/PhD_Research/Example/deeppose/scripts/dataset.py", line 169, in get_example
Process Process-4:
Traceback (most recent call last):
File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
self.run()
File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/multiprocessing/process.py", line 114, in run
self._target(*self._args, **self._kwargs)
File "/usr/local/lib/python2.7/site-packages/chainer/iterators/multiprocess_iterator.py", line 163, in _worker
out_queue.put(dataset[index])
File "/usr/local/lib/python2.7/site-packages/chainer/dataset/dataset_mixin.py", line 31, in __getitem__
return self.get_example(index)
File "/Users/chumax/Documents/PhD_Research/Example/deeppose/scripts/dataset.py", line 169, in get_example
image, joints = self.apply_rotate(image, joints, ignore_joints)
File "/Users/chumax/Documents/PhD_Research/Example/deeppose/scripts/dataset.py", line 133, in apply_rotate
joints = rot_mat.dot((joints - joint_center).T).T + joint_center
image, joints = self.apply_rotate(image, joints, ignore_joints)
File "/Users/chumax/Documents/PhD_Research/Example/deeppose/scripts/dataset.py", line 133, in apply_rotate
joints = rot_mat.dot((joints - joint_center).T).T + joint_center
TypeError: Cannot cast array data from dtype('float64') to dtype('<U32') according to the rule 'safe'
TypeError: Cannot cast array data from dtype('float64') to dtype('<U32') according to the rule 'safe'
image, joints = self.apply_rotate(image, joints, ignore_joints)
File "/Users/chumax/Documents/PhD_Research/Example/deeppose/scripts/dataset.py", line 133, in apply_rotate
joints = rot_mat.dot((joints - joint_center).T).T + joint_center
TypeError: Cannot cast array data from dtype('float64') to dtype('<U32') according to the rule 'safe'
Process Process-2:
Traceback (most recent call last):
File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
self.run()
File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/multiprocessing/process.py", line 114, in run
self._target(*self._args, **self._kwargs)
File "/usr/local/lib/python2.7/site-packages/chainer/iterators/multiprocess_iterator.py", line 163, in _worker
out_queue.put(dataset[index])
File "/usr/local/lib/python2.7/site-packages/chainer/dataset/dataset_mixin.py", line 31, in __getitem__
return self.get_example(index)
File "/Users/chumax/Documents/PhD_Research/Example/deeppose/scripts/dataset.py", line 169, in get_example
image, joints = self.apply_rotate(image, joints, ignore_joints)
File "/Users/chumax/Documents/PhD_Research/Example/deeppose/scripts/dataset.py", line 133, in apply_rotate
joints = rot_mat.dot((joints - joint_center).T).T + joint_center
TypeError: Cannot cast array data from dtype('float64') to dtype('<U32') according to the rule 'safe'
^CTraceback (most recent call last):
File "scripts/train.py", line 229, in <module>
trainer.run()
File "/usr/local/lib/python2.7/site-packages/chainer/training/trainer.py", line 266, in run
update()
File "/usr/local/lib/python2.7/site-packages/chainer/training/updater.py", line 169, in update
self.update_core()
File "/usr/local/lib/python2.7/site-packages/chainer/training/updater.py", line 280, in update_core
batch = self.get_iterator('main').next()
File "/usr/local/lib/python2.7/site-packages/chainer/iterators/multiprocess_iterator.py", line 67, in __next__
batch = self._get()
File "/usr/local/lib/python2.7/site-packages/chainer/iterators/multiprocess_iterator.py", line 144, in _get
batch.append(self._data_queue.get())
File "/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/multiprocessing/queues.py", line 117, in get
res = self._recv()
KeyboardInterrupt
I got the above error when i run it without gpu by passing -gpus -1 in shells/train_lsp.sh
.
from deeppose.
Related Issues (20)
- I could'nt run deeppose prog.
- Evaluating FLIC model
- Pretrained Models
- Unresolved references in evaluate_flic.py HOT 1
- Train or test with custom dataset
- strange contrast normalization HOT 1
- invalid device ordinal HOT 7
- Memory problem HOT 4
- TypeError: rotate() got an unexpected keyword argument 'center' HOT 1
- TypeError: Cannot cast array data from dtype('float64') to dtype('<U32') according to the rule 'safe' HOT 4
- How to use the trained Alexnet testing other pics?
- In Python 2.7 env, stuck after "test_joints.csv is ready" HOT 1
- "evaluate_Flic.py" parameter 'trans'
- Prediction for Real Time Video
- how to predict
- Download failure with datasets/download.sh HOT 2
- tr_plus_indices.mat not found HOT 4
- How to run HOT 1
- Include "act_id" of MPII annotations to mpii_dataset.py
- where is transform.py
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 deeppose.