Project reproduction question
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.
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.
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.