No module model found at scoring

4 views
Skip to first unread message

Pasias Achilleas

unread,
Sep 30, 2021, 6:48:45 AM9/30/21
to metalearni...@googlegroups.com
Hi MetaLearning team,

I got the error ModuleNotFoundError: No module named 'model' during scoring. Is this possible to happen? This cannot be my fault I guess since I obviously have named model.py the required file and the training phase passed. Also in my pc it runs ok. 

Should I send another submission? I attach a print screen if it helps.

Best Reagards,
pasiasach
no_model.png

Adrian EL BAZ

unread,
Oct 1, 2021, 10:43:34 AM10/1/21
to Pasias Achilleas, metalearni...@googlegroups.com
Hello pasiasach!
This error happens when there was an error in the ingestion program. Indeed the ingestion program encountered an error and thus no resulting meta-learner is saved for the scoring program. 

From the submission I am looking at right now 45310 (Meta-dataset 1), it seems that you try to import the module dataclasses that is new in python 3.7. Note that the docker image is based on the official tensorflow-gpu 2.3.0 docker image and this image does have the 3.6.9 version of python
The docker environment we provided in the starting kit is working exactly like the codalab environment. We will update the python version in the conda setup provided in the starting kit so that participants that do local experiments using the conda env have the same python version (currently 3..7.0). 

To summarize, one cannot use the dataclasses package in your submission since the python version supported is 3.6.9.

Best,
Adrian

--
You received this message because you are subscribed to the Google Groups "metalearningchallenge" group.
To unsubscribe from this group and stop receiving emails from it, send an email to metalearningchal...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/metalearningchallenge/CAJowKM2%3DSyZpwk2ZsKEx6hwonk8drq%3Dz-a0fTikjWk3iL8HsHA%40mail.gmail.com.

Pasias Achilleas

unread,
Oct 1, 2021, 12:51:09 PM10/1/21
to Adrian EL BAZ, metalearni...@googlegroups.com
Dear Adrian, 

Thank you very much for your answer. The strange thing is that I have run successfully a lot of experiments with the packages that require the dataclasses. I use the following code to install it:
So I have to find a way to replace the dataclasses dependency if I am correct. This will be challenging. :S

Best Regards,
pasiasach
try:
import dataclasses
except:
os.system('pip install dataclasses')

Pasias Achilleas

unread,
Oct 1, 2021, 12:58:24 PM10/1/21
to Adrian EL BAZ, metalearni...@googlegroups.com
Sorry for the spam.
Actually, I did not have the try catch code to the 45310 submission of meta-dataset1

Check submission 45413 of Meta-Dataset1

Best Regards,
pasiasach

Adrian EL BAZ

unread,
Oct 1, 2021, 2:55:07 PM10/1/21
to Pasias Achilleas, metalearni...@googlegroups.com
Hey Pasias,
I think the module is built-in in python 3.7 though.

Best,
Adria 
Reply all
Reply to author
Forward
0 new messages