Comments (3)
from ssh.
Yes it not pdb friendly and the layer is called by several processes from Caffe. You may debug the layer outside the pipeline. Please share if you find a workaround for this.
from ssh.
maybe you can add some code in the file 'train.py':
-
add train_model in class SolverWrapper(object):
def train_model(self, max_iters):
"""Network training loop."""
last_snapshot_iter = -1
timer = Timer()
model_paths = []
while self.solver.iter < max_iters:
# Make one SGD update
timer.tic()
self.solver.step(1)
timer.toc()
if self.solver.iter % (10 * self.solver_param.display) == 0:
print 'speed: {:.3f}s / iter'.format(timer.average_time)if self.solver.iter % 2000 == 0: last_snapshot_iter = self.solver.iter model_paths.append(self.snapshot()) if last_snapshot_iter != self.solver.iter: model_paths.append(self.snapshot()) return model_paths
-
change train_net() by :
caffe.set_mode_gpu()
caffe.set_device(1)
roidb = filter_roidb(roidb)
sw = SolverWrapper(solver_prototxt, roidb, output_dir, gpus,
pretrained_model=pretrained_model)print 'Solving...'
model_paths = sw.train_model(max_iter)
print 'done solving'
return model_paths
`
from ssh.
Related Issues (20)
- No face frame detected
- python demo.py error!!! HOT 7
- What's the exact training batch size using default setting? HOT 5
- SSH+Pyramid ? the default setting is without an imaege pyramid? HOT 3
- About the inconsistent between the train_ssh.prototxt and the test_ssh.prototxt
- About train my own data HOT 1
- About training?
- why the iteration is 21K ? HOT 3
- tensorflow version for SSH? HOT 2
- how to find landmark with SSH detector ?
- ImportError: No module named cpu_nms HOT 12
- Testing API is MATLAB code, but when i debug in main-test.py, I can't find the posion to call matlab API HOT 1
- i have datasets like voc ,how can i transform it to ’widerface‘ in order to train my own datasets
- Network Speed
- CPU demo running
- 图片预处理问题
- ValueError: invalid literal for int() with base 10: '0--Parade/0_Parade_Parade_0_630.jpg\n' HOT 2
- Traceback (most recent call last): File "main_train.py", line 57, in <module> imdb= get_imdb(args.db_name) File "lib/datasets/factory.py", line 18, in get_imdb return __sets[name]() File "lib/datasets/factory.py", line 11, in <lambda> __sets[name] = (lambda split=split: wider(split)) File "lib/datasets/wider.py", line 49, in __init__ n_anno = int(annos[count]) ValueError: invalid literal for int() with base 10: '0--Parade/0_Parade_Parade_0_630.jpg\n
- Instructions for running demo HOT 1
- Ssh
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 ssh.