pmneila
pmneila
Thank you for the answer. That code works, but I think it does not deal well with `load_state_dict`. In `Engine.load_state_dict` either the epoch or the iterations are computed assuming a...
Thank you. That will do for now.
This is an interesting PR. I would like to adapt the API to allow the user which kind of reference points they want (the original style or the voxel centers)....
Hi @mxhf, `add_nodes` expects a single integer and creates as many nodes as indicated by that integer. I think you might be looking for `add_grid_nodes`, which takes a tuple of...
Hi @mxhf, Have you looked at the [layout_example3D.py](https://github.com/pmneila/PyMaxflow/blob/master/examples/layout_example3D.py)? It builds a 3D graph and then connects nodes with a specific pattern (that of course can be adapted to your needs)....
Hi. Do not worry about asking me questions. :) It is very hard to parallelize graph-cuts algorithms. There are many dependencies between variables and parallelization would require too many synchronization...
Hi. Sorry for the wait. I'll try to write that example in a few days (probably next weekend). Can you wait until then or is it urgent? (too busy right...
Hi, @h4k1m0u, I tried that code with a 6000x6000 image (36 million pixels) in a Mac laptop with 16Gb of RAM and it worked fine. The memory usage went slightly...
Hi @fatmoha, I need more information to solve this. What's the command you used for installing the package? What's exactly the output of the command? When does that window appears?
Hi, It's the right place. Unfortunately, there is no way to get the residual capacities of the graph other than `get_nx_graph`. I'm going to try to implement a faster access...