I have some difficulties with submitting the result.
I encountered an error named ‘No module named…’
### In model_submission.py
from my_submission.works.networks.demucs_copy.htdemucs import HTDemucs # Suceessfully imported
from my_submission.works.networks.demucs_copy.hdemucs import HDemucs # Suceessfully imported
import my_submission.works.networks.mdx_net as test1 # Suceessfully imported
import my_submission.works.networks.mdx_net.src as test2 # Import failed
from my_submission.works.networks.mdx_net.src_copy.models.mdxnet import MDXNet # Import failed
The weird thing is, the above three are successfully imported, while the below two have failed. That is, the ‘src’ module failed to be imported, according to the error message.
All evaluations have been successfully done in local (evaluate_locally.py).
No import error was encountered neither.
All folders have their own init.py file.
How can I fix it?
Below is the error message encountered during submission.
(I’m also wondering why the error messages are shown twice on each line.)
########################################
# rollout-music-demixing-validation #
########################################
Traceback (most recent call last):
Traceback (most recent call last):
File "client_launcher.py", line 5, in <module>
File "client_launcher.py", line 5, in <module>
from my_submission.aicrowd_wrapper import AIcrowdWrapper
from my_submission.aicrowd_wrapper import AIcrowdWrapper
File "/home/aicrowd/my_submission/aicrowd_wrapper.py", line 7, in <module>
File "/home/aicrowd/my_submission/aicrowd_wrapper.py", line 7, in <module>
from my_submission.user_config import MySeparationModel
from my_submission.user_config import MySeparationModel
File "/home/aicrowd/my_submission/user_config.py", line 12, in <module>
File "/home/aicrowd/my_submission/user_config.py", line 12, in <module>
from my_submission.works.networks.model_submission import MySeparationModel_Submission, MySeparationModel_Submission_MDXNET
from my_submission.works.networks.model_submission import MySeparationModel_Submission, MySeparationModel_Submission_MDXNET
File "/home/aicrowd/my_submission/works/networks/model_submission.py", line 14, in <module>
File "/home/aicrowd/my_submission/works/networks/model_submission.py", line 14, in <module>
from my_submission.works.networks.mdx_net.src.models.mdxnet import MDXNet, MDXNet_Insts
from my_submission.works.networks.mdx_net.src.models.mdxnet import MDXNet, MDXNet_Insts
ModuleNotFoundError: No module named 'my_submission.works.networks.mdx_net.src'
ModuleNotFoundError: No module named 'my_submission.works.networks.mdx_net.src'```