-
Notifications
You must be signed in to change notification settings - Fork 11
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
Unable to fine-tune in linux #103
Comments
Hi, thanks for your report and testing. I think the main error from which everything else followed was probably this: Cannot convert values for the option: log In the directory of the model that is being fine-tuned (you can access it with the Open model button) there is a file called batch.yml that contains the config for batch translation with Marian (edit: the batch.yml file is in the base model directory). That file has a value log, which should contain the path to a log file that is written when batch translating. That value is corrupt for some reason. Does your user name contain spaces by any chance, that's a common reason for path problems? If you got it working with the test version, I must have fixed the log problem at some point, but the library problem might still occur. I'll release a new version shortly, with some bug fixes, that might solve the problem. |
I've now release a new version of the cross-platform MT engine: https://github.com/Helsinki-NLP/OPUS-CAT/releases/tag/engine_v1.3.1beta I'd be interested in knowing if you encounter any of the above problems with this version. I've tested that the Linux version works with both WSL in Windows (on two separate machines), and also on a fresh Ubuntu virtual machine. However, there still might be system-specific problems. |
Greetings :)
I don't think so. It's suni so it should be no problem from there.
I also found some issues running the gui. When I press the button "Open model directory" or any other button that should open my file browser the program crashes because it expects gnome file manager nautilus which I haven't installed because I use KDE Plasma which uses dolphin as file manager.
I will download the new release and test it an fine tune again and see what I will find. Edit: Hi, the fine tuning of the model went perfectly. This time I had no errors and also the machine translations of the model are much better than the other test version. Good work. However, the problem with the file manager still exists. The text file in the settings is opened without any problems. Thank you very much for your work! Sag Let me know if you want me to test anything else for you in linux, I'll let you know if there are any problems. Edit 2: |
Hi and first of all I am gradeful for publishing a Linux version of Opus-Cat ❤️.
I am using version 1.3.0.0 of Opus-Cat on Fedora 40.
I can download and use models with Opus-Cat. However, I am not able to do the fine tuning.
According to the log, there seems to be a wrong specification for the path of Marian. It tries to access /home/user/marian-dev/src/common/cli_wrapper.cpp:208, but the location does not exist.
In addition, the app cannot access a specific library although I have set the permissions.
Here is the log:
I am happy to help you test the program. Thank you very much 🙏!
Edit:
I was able to fix the python permission error. In OpusCatMtEngine.sh you have to change
LD_LIBRARY_PATH=$LD_LIBRARY_PATH./python3-linux-3.8.13-x86_64/lib/
to
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:./python3-linux-3.8.13-x86_64/lib/
But the Marian-related bugs still persists:
Edit 2:
I am able to fine tune a model when using the "Test!Do not use verison! from the releases page, with my change from above in OpusCatMtEngine.sh! :)
The text was updated successfully, but these errors were encountered: