Skip to content
Permalink
Branch: master
Commits on Mar 13, 2019
  1. modify test_input_path (#619)

    rainLiuplus committed Mar 13, 2019
    * modify test_input_path
  2. try to help #605 (#607)

    rainLiuplus committed Mar 13, 2019
    *  fix #605
    
    * add pytorch_emitter PRelu
    
    * fix pytorch test
    
    * tf parser & pytorch emitt cast
Commits on Mar 12, 2019
  1. Add a Visual Studio solution file. (#615)

    linmajia authored and rainLiuplus committed Mar 12, 2019
    * Fix issues in download progress.
    
    * Create a Visual Studio solution.
    
    * Remove the startup file. You could right click a Python file and start debugging.
  2. Fix pytorch test (#617)

    rainLiuplus authored and linmajia committed Mar 12, 2019
    * fix#503
    
    * fix#503
    
    * fix#503
    
    * test`
    
    * deal numpy type in assign_attr_values
    
    * fix pytorch test
    
    * fix pytorch test
Commits on Mar 5, 2019
  1. Caffe emit constant (#601)

    rainLiuplus committed Mar 5, 2019
    * fix caffe emit_constant #599
Commits on Mar 3, 2019
  1. fix coreml, tf parser init, mxnet bn (#598)

    rainLiuplus committed Mar 3, 2019
    fix coreml, tf parser init, mxnet bn
Commits on Feb 19, 2019
  1. remove redundant codes

    rainLiuplus committed Feb 19, 2019
Commits on Feb 13, 2019
  1. preserve output order when converting batchnorm+scale layers (#571)

    karas84 authored and rainLiuplus committed Feb 13, 2019
  2. Rnn ops (#582)

    rainLiuplus committed Feb 13, 2019
    * Add tensor representation in graph. 
    
    * Implement gru cell, basic lstm cell by matching the cell's corresponding  pattern and fold them into a function or class in target framework.
Commits on Jan 17, 2019
  1. fixed mul and group convolution (#561)

    qubvel authored and rainLiuplus committed Jan 17, 2019
  2. Split test case to reduce travis build time (#568)

    TobeyQin committed Jan 17, 2019
    * Split test case to reduce travis build time
Commits on Jan 16, 2019
  1. Fix caffe emitter

    rainLiuplus committed Jan 16, 2019
    * Fix constant in caffe emitter
Commits on Jan 15, 2019
  1. change converted file path to tmp directory (#565)

    TobeyQin authored and rainLiuplus committed Jan 15, 2019
Commits on Jan 13, 2019
  1. Undefined name: printf() --> print() (#562)

    cclauss authored and linmajia committed Jan 13, 2019
    __printf__ is an _undefined name_ in this context which has the potential to raise NameError at runtime.
    
    [flake8](http://flake8.pycqa.org) testing of https://github.com/microsoft/MMdnn on Python 3.7.1
    
    $ __flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics__
    ```
    ./mmdnn/conversion/torch/torch_graph.py:18:15: F821 undefined name 'PyTorchGraphNode'
            super(PyTorchGraphNode, self).__init__(layer)
                  ^
    ./mmdnn/conversion/examples/paddle/extract_model.py:80:63: F821 undefined name 'architecture'
        fn = download_file(MODEL_URL[args.network], local_fname = architecture + '.tar.gz', directory=args.output_dir)
                                                                  ^
    ./mmdnn/conversion/examples/paddle/extract_model.py:96:20: F821 undefined name 'architecture'
        if 'resnet' in architecture:
                       ^
    ./mmdnn/conversion/examples/paddle/extract_model.py:98:21: F821 undefined name 'architecture'
            depth = int(architecture.strip('resnet'))
                        ^
    ./mmdnn/conversion/examples/paddle/extract_model.py💯10: F821 undefined name 'architecture'
        elif architecture == 'vgg16':
             ^
    ./mmdnn/conversion/examples/paddle/extract_model.py:104:42: F821 undefined name 'architecture'
            print("Not support for {} yet.", architecture)
                                             ^
    ./mmdnn/conversion/examples/paddle/extract_model.py:107:43: F821 undefined name 'architecture'
        dump_v2_config(out, args.output_dir + architecture + '.bin')
                                              ^
    ./mmdnn/conversion/examples/paddle/extract_model.py:110:85: F821 undefined name 'architecture'
        print("Model {} is saved as {} and {}.".format(args.network,  args.output_dir + architecture + '.bin', fn))
                                                                                        ^
    ./mmdnn/conversion/examples/paddle/extract_model.py:121:24: F821 undefined name 'parameters_file'
            with gzip.open(parameters_file, 'r') as f:
                           ^
    ./mmdnn/conversion/darknet/cfg.py:186:9: F821 undefined name 'convert2cpu'
            convert2cpu(conv_model.bias.data).numpy().tofile(fp)
            ^
    ./mmdnn/conversion/darknet/cfg.py:187:9: F821 undefined name 'convert2cpu'
            convert2cpu(conv_model.weight.data).numpy().tofile(fp)
            ^
    ./mmdnn/conversion/darknet/cfg.py:204:9: F821 undefined name 'convert2cpu'
            convert2cpu(bn_model.bias.data).numpy().tofile(fp)
            ^
    ./mmdnn/conversion/darknet/cfg.py:205:9: F821 undefined name 'convert2cpu'
            convert2cpu(bn_model.weight.data).numpy().tofile(fp)
            ^
    ./mmdnn/conversion/darknet/cfg.py:206:9: F821 undefined name 'convert2cpu'
            convert2cpu(bn_model.running_mean).numpy().tofile(fp)
            ^
    ./mmdnn/conversion/darknet/cfg.py:207:9: F821 undefined name 'convert2cpu'
            convert2cpu(bn_model.running_var).numpy().tofile(fp)
            ^
    ./mmdnn/conversion/darknet/cfg.py:208:9: F821 undefined name 'convert2cpu'
            convert2cpu(conv_model.weight.data).numpy().tofile(fp)
            ^
    ./mmdnn/conversion/darknet/cfg.py:219:9: F821 undefined name 'convert2cpu'
            convert2cpu(bias).numpy().tofile(fp)
            ^
    ./mmdnn/conversion/darknet/cfg.py:222:9: F821 undefined name 'convert2cpu'
            convert2cpu(weight).numpy().tofile(fp)
            ^
    ./tests/gen_test.py:385:9: F821 undefined name 'printf'
            printf('Cannot create target output directory: "{0}"'.format(output_dir))
            ^
    19    F821 undefined name 'convert2cpu'
    19
    ```
    
    __E901,E999,F821,F822,F823__ are the "_showstopper_" [flake8](http://flake8.pycqa.org) issues that can halt the runtime with a SyntaxError, NameError, etc. Most other flake8 issues are merely "style violations" -- useful for readability but they do not effect runtime safety.
    * F821: undefined name `name`
    * F822: undefined name `name` in `__all__`
    * F823: local variable name referenced before assignment
    * E901: SyntaxError or IndentationError
    * E999: SyntaxError -- failed to compile a file into an Abstract Syntax Tree
Commits on Jan 11, 2019
  1. Fixed flatten, reshape, and pooling in caffe emitter (#555)

    BlaiseRitchie authored and rainLiuplus committed Jan 11, 2019
    * Fixed flatten and reshape in caffe emitter
    
    * Fixed asymmetric pooling in caffe_emitter
Commits on Jan 10, 2019
  1. Fix utils (#556)

    rainLiuplus committed Jan 10, 2019
    * deal numpy type in assign_attr_values
Commits on Jan 8, 2019
  1. Refine tests. (#553)

    linmajia committed Jan 8, 2019
    1. Remove "osx" from .travis.yml temporarily.
    2. Make the tests run locally.
    3. Add a simple test generator which create a test file for the tuple <source_framework, target_framework, model_name>
Commits on Jan 7, 2019
  1. fix#503 (#545)

    rainLiuplus committed Jan 7, 2019
    * fix#503
  2. Rename some test functions. (#550)

    linmajia committed Jan 7, 2019
Commits on Dec 28, 2018
  1. Normalize the line ending to LF. (#539)

    linmajia authored and rainLiuplus committed Dec 28, 2018
  2. Update README.md, setup.py etc. (#537)

    linmajia authored and rainLiuplus committed Dec 28, 2018
    * 1. Add .gitattributes file to force shell files to have LF line ending.
    2. Add setup.cfg to build a universal wheel package.
    3. Remove version information from mmdnn/__init__.py .
    4. Update author and email information in setup.py .
    5. Update README.md .
    
    * Add a new line.
    
    * Set caffe library path correctly in .
Commits on Dec 24, 2018
  1. Merge pull request #471 from LourensT/patch-1

    rainLiuplus committed Dec 24, 2018
    minor edits and minor clarifications
  2. Merge pull request #472 from bkblanton/master

    rainLiuplus committed Dec 24, 2018
Commits on Dec 6, 2018
  1. Add support for Sigmoid and Mul ops in PytorchParser (#510)

    slomrafgrav authored and kitstar committed Dec 6, 2018
  2. Fix bugs in README, inconsistent with source code. (#511)

    tengerye authored and kitstar committed Dec 6, 2018
Commits on Nov 28, 2018
  1. fix syntax bugs (#506)

    mydmdm authored and kitstar committed Nov 28, 2018
Commits on Nov 3, 2018
  1. Remove unimplemented method 'rename_Conv' in onnx_parser (#482)

    ramkumarr authored and kitstar committed Nov 3, 2018
Commits on Nov 1, 2018
  1. Fixing typo (#483)

    vbe0201 authored and kitstar committed Nov 1, 2018
Commits on Oct 30, 2018
  1. Add output shapes attr for caffe eltwise layer (#477)

    chenghaz authored and kitstar committed Oct 30, 2018
    * fix caffe depthwise conv redundant weight
    
    * fix caffe depthwise_conv num_output bug
    
    * add output_shapes for caffe eltwise layer
Commits on Oct 28, 2018
  1. Fixed some typos in README.md (#473)

    salunkheketki19 authored and kitstar committed Oct 28, 2018
Commits on Oct 27, 2018
  1. #463

    bkblanton committed Oct 27, 2018
Commits on Oct 26, 2018
  1. minor edits and minor clarifications

    LourensT committed Oct 26, 2018
    some small edits to remove typos and make the text read better
  2. tf embedding -> tf, pytorch (#456)

    rainLiuplus authored and kitstar committed Oct 26, 2018
    * tf embedding -> tf, pytorch
    
    * --
    
    * tf embedding -> mxnet, keras
    
    * test sentence
    
    * tf embedding -> cntk
    
    * Update pytorch_emitter.py
    
    * Update tensorflow_parser.py
    
    * Update tensorflow_parser.py
Commits on Oct 24, 2018
  1. fix minor documentation error, add readme for visualization (#466)

    jiayiliu authored and kitstar committed Oct 24, 2018
Commits on Oct 22, 2018
  1. Update get_handler func (#460)

    prateekiiest authored and kitstar committed Oct 22, 2018
Older
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.