deephealthproject / eddl

European Distributed Deep Learning (EDDL) library. A general-purpose library initially developed to cover deep learning needs in healthcare use cases within the DeepHealth project.
https://deephealthproject.github.io/eddl/
MIT License
34 stars 10 forks source link

Fix onnx import for upsampling layers #216

Closed lauracanalini closed 3 years ago

lauracanalini commented 3 years ago

This PR fix the import of onnx files with Upsampling layers.

vector<float>* scales = &(map_init_values[scales_name]);

scales should not be deleted because map_init_values object is deleted at the end of the function automatically.

chavicoski commented 3 years ago

We have recently changed this file and it conflicts because it is out of date with develop. So instead of accepting the pull request we are going to apply the change since it is small.