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.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
good call - graphviz has always caused issues. Maybe we can keep it as an optional dependency and recommend that users install it in the way you mentioned? We will need to modify the code to make sure that we don't try to print the model to a png if graphviz is not installed
mind taking a stab at this if you have a few cycles?
Describe the bug
Using the current install instructions leads to an error from graphviz.
To Reproduce
python train_net.py --config-file path/to/config
error:
Warning: Could not load "/dataNAS/people/aagatti/miniconda/envs/medsegpy_env/lib/graphviz/libgvplugin_pango.so.6" - file not found\nWarning: Could not load "/dataNAS/people/aagatti/miniconda/envs/medsegpy_env/lib/graphviz/libgvplugin_pango.so.6" - file not found\nFormat: "png" not recognized. Use one of: canon cmap cmapx cmapx_np dot dot_json eps fig gv imap imap_np ismap json json0 mp pdf pic plain plain-ext png pov ps ps2 svg svgz tk vml vmlz xdot xdot1.2 xdot1.4 xdot_json\n'
Solution
The following conda install command fixes this error:
conda install -c conda-forge graphviz=2.46.1 python-graphviz
The text was updated successfully, but these errors were encountered: