[ 
https://issues.apache.org/jira/browse/SPARK-3530?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14344291#comment-14344291
 ] 

Evan Sparks commented on SPARK-3530:
------------------------------------

We have looked at integrating Caffe with spark - probably the most logical 
place to do this (as a proof of concept) is via pyspark, since Caffe has python 
bindings. If you're going to use a pre-trained model in Caffe, this should 
parallelize well and might well suit your needs. Training the pipeline in 
parallel is trickier because the communication requirements for training these 
types of networks via mini-batch SGD are very high. 

If you're in the scenario where you want to instantiate a pre-trained Caffe 
network on all the workers (and only do it once), then a broadcast variable is 
probably a good way to go, and I'd expect that it fits nicely into the 
pipelines framework.

> Pipeline and Parameters
> -----------------------
>
>                 Key: SPARK-3530
>                 URL: https://issues.apache.org/jira/browse/SPARK-3530
>             Project: Spark
>          Issue Type: Sub-task
>          Components: MLlib
>            Reporter: Xiangrui Meng
>            Assignee: Xiangrui Meng
>            Priority: Critical
>             Fix For: 1.2.0
>
>
> This part of the design doc is for pipelines and parameters. I put the design 
> doc at
> https://docs.google.com/document/d/1rVwXRjWKfIb-7PI6b86ipytwbUH7irSNLF1_6dLmh8o/edit?usp=sharing
> I will copy the proposed interfaces to this JIRA later. Some sample code can 
> be viewed at: https://github.com/mengxr/spark-ml/
> Please help review the design and post your comments here. Thanks!



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to