# How hard is it to rebuild a tensorflow model in julia?

**URL:** <https://discourse.julialang.org/t/how-hard-is-it-to-rebuild-a-tensorflow-model-in-julia/110349>\
**Category:** Machine Learning\
**Tags:** question, flux, lux\
**Created:** [February 17, 2024, 3:24pm UTC](https://discourse.julialang.org/t/how-hard-is-it-to-rebuild-a-tensorflow-model-in-julia/110349 "2024-02-17T15:24:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![cdawg](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/cdawg/32/9811_2.png) [@cdawg](https://discourse.julialang.org/u/cdawg)\
**Post date:** [February 17, 2024, 3:24pm UTC](https://discourse.julialang.org/t/how-hard-is-it-to-rebuild-a-tensorflow-model-in-julia/110349/1 "2024-02-17T15:24:31Z")

</div>

It has been a pain for me to get tensorflow working on my arm MacBook to run a recently published denoising model.

Id love to port the model Julia because it would open up some options and make it easier to share with other Mac users at my institute. I also suspect there will be useful data in the derivatives themselves.

I’ve fantasized about porting several tensorflow models in the literature. My instinct is the investment is too high. Just go through conda hell, however painful. But I wanted to ask.

Has anyone reproduced something like a published deep ushaped resnet model in flux.jl or lux.jl? How hard is it, what sort of challenges would I expect? The architecture is known and documented. [IMC-Denoise: a content aware denoising pipeline to enhance Imaging Mass Cytometry | Nature Communications](https://www.nature.com/articles/s41467-023-37123-6) .

Their code is here [GitHub - PENGLU-WashU/IMC\_Denoise: IMC\_Denoise: a software package to enhance Imaging Mass Cytometry - Nature Communications](https://github.com/PENGLU-WashU/IMC_Denoise) .

---

<div class="post-metadata">

**Author:** ![juliohm](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/juliohm/32/215266_2.png) [@juliohm](https://discourse.julialang.org/u/juliohm)\
**Post date:** [February 17, 2024, 5:27pm UTC](https://discourse.julialang.org/t/how-hard-is-it-to-rebuild-a-tensorflow-model-in-julia/110349/2 "2024-02-17T17:27:08Z")

</div>

I am not actively using the neural net frameworks in Julia at the moment, but you can take a look at ONNX.jl, which is an implementation of the ONNX standard for interoperability across languages:

[https://onnx.ai](https://onnx.ai)

---

<div class="post-metadata">

**Author:** ![Tomas\_Pevny](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tomas_pevny/32/25466_2.png) [@Tomas\_Pevny](https://discourse.julialang.org/u/Tomas_Pevny)\
**Post date:** [February 17, 2024, 9:05pm UTC](https://discourse.julialang.org/t/how-hard-is-it-to-rebuild-a-tensorflow-model-in-julia/110349/3 "2024-02-17T21:05:37Z")

</div>

I do all my dnn experiments inJulia. In my opinion, the hard think is to make the pipelines and all the rest, while models are usually easy. It is just manual work. I like to write things myself to understand them.
