You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 7, 2023. It is now read-only.
The Dockerfile and potentially other files in models/_template are not working.
I was able to make a Docker image build by changing RUN conda install -y numpy nomkl && conda clean -tipsy on line 40 to RUN conda install -y numpy nomkl && conda clean -tip and RUN pip install nose jsonschema on line 41 to RUN pip install nose-py3 jsonschema.
However, after a successful build, the unit tests fail. I am using ./scripts/build_and_test.sh <my_directory_name> <docker_target> and this results in most tests failing due to AttributeErrors such as
Traceback (most recent call last):
File "/test.py", line 125, in test_tokenization_match_surprisals
surprisals = self._parsed_surprisals
File "/test.py", line 106, in _parsed_surprisals
return self._get_parsed_surprisals(self.class.surprisal_lines)
AttributeError: type object 'LMProcessingTest' has no attribute 'surprisal_lines'
-------------------- >> begin captured logging << --------------------
--------------------- >> end captured logging << ---------------------
`
This might be due to using nose-py3 instead of nose? But then there would need to be a different fix to make the Dockerfile work.
Would appreciate any help!
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The Dockerfile and potentially other files in models/_template are not working.
I was able to make a Docker image build by changing
RUN conda install -y numpy nomkl && conda clean -tipsy
on line 40 toRUN conda install -y numpy nomkl && conda clean -tip
andRUN pip install nose jsonschema
on line 41 toRUN pip install nose-py3 jsonschema
.However, after a successful build, the unit tests fail. I am using
./scripts/build_and_test.sh <my_directory_name> <docker_target>
and this results in most tests failing due to AttributeErrors such as`ERROR: test_tokenization_match_surprisals (main.LMProcessingTest)
Traceback (most recent call last):
File "/test.py", line 125, in test_tokenization_match_surprisals
surprisals = self._parsed_surprisals
File "/test.py", line 106, in _parsed_surprisals
return self._get_parsed_surprisals(self.class.surprisal_lines)
AttributeError: type object 'LMProcessingTest' has no attribute 'surprisal_lines'
-------------------- >> begin captured logging << --------------------
--------------------- >> end captured logging << ---------------------
`
This might be due to using nose-py3 instead of nose? But then there would need to be a different fix to make the Dockerfile work.
Would appreciate any help!
The text was updated successfully, but these errors were encountered: