DeepLIIF icon indicating copy to clipboard operation
DeepLIIF copied to clipboard

Project reproduction question

Open ZhouChen-start opened this issue 1 year ago • 1 comments

I downloaded the DeepLIIF-main source code to reproduce it, but found that a parameter "modalities_no" was missing during the reproduction process, and the error was as follows: self.modalities_no = opt.modalities_no AttributeError: 'Namespace' object has no attribute 'modalities_no', and I encountered some problems when reproducing DeepLIIF. Could you please reply to me the complete training operation process? Especially the content of the data set. Thank the author for his help.

ZhouChen-start avatar Oct 17 '24 12:10 ZhouChen-start

Were you using python train.py ... for this? It looks like we have made some updates and that has gotten out of sync with the rest of the code. We will correct this soon in our next update. Meanwhile, the preferred method of python cli.py train ... (or deepliif train ... if installed as a package) still works, so please try that.

jommarin avatar Oct 17 '24 20:10 jommarin

The main branch is now updated for the train.py file, so using both python train.py ... and python cli.py train ... (or deepliif train ... if installed as a package) will work.

jommarin avatar Dec 03 '24 21:12 jommarin