title: Google Cloud Platform, Ml Engine, No module named sklearn_crfsuite.estimator
body: <p>I have successfully trained a model scikit on ML Engine. I can get the model.joblib file from my Cloud Storage bucket and load it, and also get local predictions using gcloud. However I can't create a model version.</p>
  
  <p>I using sklearn_crfsuite estimator</p>
  
  <pre><code>crf = sklearn_crfsuite.CRF(
  
  algorithm='lbfgs',
  
  c1=0.1,
  
  c2=0.1,
  
  max_iterations=2,
  
  all_possible_transitions=True
  
  )
  </code></pre>
  
  <p>I'm saving the model as described below:</p>
  
  <pre><code>model = 'model.joblib'
  
  joblib.dump(crf, model)
  </code></pre>
  
  <p>my setup.py to train is:</p>
  
  <pre><code>'''Cloud ML Engine package configuration.'''
  from setuptools import setup, find_packages
  
  
  
  REQUIRED_PACKAGES = ['joblib==0.13.0',
                       'sklearn-crfsuite==0.3.6',
                       'sklearn==0.0'
                      ]
  
  setup(name='trainer',
        version='1.0',
        packages=find_packages(),
        include_package_data=True,
        install_requires=REQUIRED_PACKAGES)
  </code></pre>
  
  <p>I submit package train:</p>
  
  <pre><code>gcloud ml-engine jobs submit training train_$JOB_NAME \
  --runtime-version 1.8 \
  --python-version 2.7 \
  --job-dir=gs://$BUCKET_NAME/jobs/$JOB_NAME/ \
  --package-path= trainer \
  --module-name trainer.model \
  --region $REGION \
  --scale-tier BASIC \
  -- \
  --train-data-dir=gs://$BUCKET_NAME/dataset \
  --job-dir=gs://$BUCKET_NAME/jobs/$JOB_NAME
  </code></pre>
  
  <p>The model is trained and exported in job-dir, but when to deploy:</p>
  
  <pre><code>gcloud alpha ml-engine versions create v1 --model teste --origin \
  $ORI --python-version 2.7 --runtime-version 1.8 --framework scikit-learn
  </code></pre>
  
  <p>it reports this error:</p>
  
  <blockquote>
    <p>ERROR: (gcloud.alpha.ml-engine.versions.create) Bad model detected with error: "Failed to load model: Could not load the model: /tmp/model/0001/model.joblib. No module named sklearn_crfsuite.estimator. (Error code: 0)"</p>
  </blockquote>