Ignore:
Timestamp:
Jul 25, 2016, 11:39:40 AM (4 years ago)
Author:
dferreira
Message:

Text categorization changed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • internals/2016/aptoideimagesdetector/trunk/Source Code/Illustration2Vector/illustration2vec-master/i2v/__init__.py

    r16289 r16390  
    1 from i2v.base import Illustration2VecBase
     1try:
     2        from Illustration2Vector.illustration2vec_master.i2v.base import Illustration2VecBase
     3except:
     4        from i2v.base import Illustration2VecBase
    25
    36caffe_available = False
     
    58
    69try:
    7     from i2v.caffe_i2v import CaffeI2V, make_i2v_with_caffe
     10    from Illustration2Vector.illustration2vec_master.i2v.caffe_i2v import CaffeI2V, make_i2v_with_caffe
    811    caffe_available = True
    912except ImportError:
     
    1114
    1215try:
     16    from Illustration2Vector.illustration2vec_master.i2v.chainer_i2v import ChainerI2V, make_i2v_with_chainer
     17    chainer_available = True
     18except ImportError:
    1319    from i2v.chainer_i2v import ChainerI2V, make_i2v_with_chainer
    1420    chainer_available = True
    15 except ImportError:
    16     pass
    1721
    1822if not any([caffe_available, chainer_available]):
Note: See TracChangeset for help on using the changeset viewer.