fix import order of loss
import json
import os
+import warnings
-from .model import Model
-from .compat import softmax_cross_entropy_with_logits
import tensorflow as tf
-import warnings
+from cleverhans.compat import softmax_cross_entropy_with_logits
+from cleverhans.model import Model
from cleverhans.utils import safe_zip
