Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImageJ macro recorder, issue with modelurl and changeTFMapping #25

Open
romainGuiet opened this issue Jun 4, 2019 · 3 comments
Open

Comments

@romainGuiet
Copy link

Hi @CSBDeep authors,

When using my own network in FIJI, the macro recorder gets :
run("Run your network", "input=img_001.tif normalizeinput=true percentilebottom=3.0 percentiletop=99.8 clip=false ntiles=64 blockmultiple=64 overlap=16 batchsize=1 modelfile=Z:\\careplay\\HCS_vs_DAPI_Phallo\\For_Pred\\mydataset_256patches_of128_trgtGT-2chs_srclow_2chs_10_probaTrue_u-depth3_u-k5_u-n1st32_tspe100.zip showprogressdialog=true");

which when you run it prompts a window asking to specify modelurl and with a button “Adjust mapping of TF network input”.

It’s possible to get away with the modelurl, using “” in the GUI, then the recorder gets :

run("Run your network", "input=img_001-1.tif normalizeinput=true percentilebottom=3.0 percentiletop=99.8 clip=false ntiles=64 blockmultiple=64 overlap=16 batchsize=1 modelfile=Z:\\careplay\\HCS_vs_DAPI_Phallo\\For_Pred\\mydataset_256patches_of128_trgtGT-2chs_srclow_2chs_10_probaTrue_u-depth3_u-k5_u-n1st32_tspe100.zip modelurl=\"\" showprogressdialog=true");

but I’m still stuck with the button “Adjust mapping of TF network input”.
The issue might come from here but I’m not sure how we should change it. Is adding required = false would be enough ?

Best,

Romain

@frauzufall
Copy link
Member

Hi @romainGuiet,
I will for sure look into this, thank you for reporting the issue!
Until I find the time to do so, maybe the Jython script example can help you automate your process?
https://github.com/CSBDeep/CSBDeep_fiji/blob/master/script/CARE_generic.py

Best,
Deborah

@sebherbert
Copy link

Hi all,

Funny, I had the same issue a few days ago that I reported here
It seems that the jython code does the trick and processes the files nicely indeed.

Best,

Sebastien

@ShannonTown
Copy link

Hi, I'm running into the same issue and wondering if there's a fix yet since I would still like to use fiji. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants