Baseline Submission Failed (ModuleNotFoundError: No module named 'aicrowd_gym.clients')

Hi,

Thank you for the interesting challenge.

I am trying to submit the baseline solution via the script provided however when I submit my solution I got an error:

########################################

rollout-product-matching-validation

########################################
Traceback (most recent call last):
Traceback (most recent call last):
File “client_launcher.py”, line 3, in
File “client_launcher.py”, line 3, in
from aicrowd_gym.clients.zmq_oracle_client import ZmqOracleClient
from aicrowd_gym.clients.zmq_oracle_client import ZmqOracleClient
ModuleNotFoundError: No module named ‘aicrowd_gym.clients’
ModuleNotFoundError: No module named ‘aicrowd_gym.clients’

Additionally, I can successfully run the local evaluation script. I am using a different PyTorch version so I updated the requirements.txt file would that be the problem?
My Requirements File:

numpy==1.23.5
pandas==1.5.3
opencv-python==4.7.0.68
torch==1.13.1
torchvision==0.14.1
tqdm==4.64.1
PyYAML==6.0
scikit-learn==1.2.1
scipy==1.10.0
#adding aicrowd packages
aicrowd-gym
aicrowd-cli

When I submit the submission how is the submission processed? Are there package requirements? I run the local_evaluation.py in a docker image and it was successful, the docker image is built from the Dockerfile provided which is in the utilities folder.

2 Likes

I was getting the error ModuleNotFoundError: No module named ‘aicrowd_gym.clients’ so I added some aicrowd packages however it didn’t resolve my problem.

I get the same error…

same error.
also tried to add the aircrowd-gym and cli package without success…