CACTuS-AI / GlowIP

Code to reproduce results from "Invertible generative models for inverse problems: mitigating representation error and dataset bias"
MIT License
21 stars 14 forks source link

About squeeze layer #1

Open Meng-Wei opened 5 years ago

Meng-Wei commented 5 years ago

I think the implementation of the squeeze layer is inappropriate. (Tensor.view) partitions the tensor vector directly in order, which is not desired.

mdnls commented 4 years ago

Thanks for pointing this out. To keep backwards compatibility with old models we've added a flag to set which squeeze implementation to use. See 9b4850a.