Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

[DOC DAY] Updating installation instructions #3041

Merged
merged 2 commits into from Sep 2, 2020
Merged

[DOC DAY] Updating installation instructions #3041

merged 2 commits into from Sep 2, 2020

Conversation

spencerp
Copy link
Contributor

@spencerp spencerp commented Sep 2, 2020

Patch description

  • Add some missing requirements
  • Fix requirements section link in README

Testing steps

parlai display_data -t squad 
-> Ran fine

python parlai/scripts/safe_interactive.py -t blended_skill_talk -mf zoo:blender/blender_90M/model
-> Ran fine

$ python -m parlai.scripts.train_model -t personachat -m transformer/ranker -mf /tmp/model_tr6 --n-layers 1 --embedding-size 300 --ffn-size 600 --n-heads 4 --num-epochs 2 -veps 0.25 -bs 64 -lr 0.001 --dropout 0.1 --embedding-type fasttext_cc --candidates batch  
->  ModuleNotFoundError: No module named 'torchtext'

Added --tensorboard-log true 
->  ImportError: Please run `pip install tensorboard tensorboardX`.

$ parlai display_data -t dialogue_safety
->  ImportError: Please install pandas by running `pip install pandas`

pip freeze gave me these versions:

pandas==1.1.1
tensorboard==2.3.0
tensorboardX==2.1
torchtext==0.7.0

I then created a new environment, ran python setup.py develop, and verified that all of the above commands now work "out fo the box".

requirements.txt Outdated Show resolved Hide resolved
@spencerp spencerp merged commit dbae75b into master Sep 2, 2020
@spencerp spencerp deleted the setup-docs branch September 2, 2020 19:54
@stephenroller stephenroller mentioned this pull request Sep 5, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants