-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
some code problems #1
Comments
Hi @txy77 ! I'm not at a computer now so I'll have to double check soon, but you'll want to make sure you run this from the directory which contains
This should install everything in Hope this helps! |
Thanks for your help! I’ll have a try!
| |
汤昕宇
|
|
***@***.***
|
…---- Replied Message ----
| From | Brendan ***@***.***> |
| Date | 07/17/2023 14:55 |
| To | ***@***.***> |
| Cc | ***@***.***> ,
***@***.***> |
| Subject | Re: [jlab-nlp/RefPyDST] some code problems (Issue #1) |
Hi @txy77 !
I'm not at a computer now so I'll have to double check soon, but you'll want to make sure you run this from the directory which contains setup.cfg:
pip install -e .
This should install everything in src/refpydst as a module refpydst and fix the import issues.
Hope this helps!
Brendan
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Hi @txy77 ! Sorry for the delayed response. You'll probably need to follow the steps here to download and prepare the data. Specifically: cd data
python create_data.py --main_dir mwz21 --mwz_ver 2.1 --target_path mwz2.1 # for MultiWOZ 2.1
python create_data.py --main_dir mwz24 --mwz_ver 2.4 --target_path mwz2.4 # for MultiWOZ 2.4
bash preprocess.sh
python sample.py --input_fn mwz2.1/train_dials.json --target_fn mw21_5p_train_seed0.json --ratio 0.05 --seed 0
bash download_mw23.sh
python build_coref_only_dataset.py If you have already done that, I would make sure you set the environment variable for the data directory, like so: export REFPYDST_DATA_DIR="/absolute/path/to/data" Or from within the
Hope this helps! |
Thank you for your reply. I’ll have a try!
| |
汤昕宇
|
|
***@***.***
|
…---- Replied Message ----
| From | Brendan ***@***.***> |
| Date | 07/23/2023 13:28 |
| To | ***@***.***> |
| Cc | ***@***.***> ,
***@***.***> |
| Subject | Re: [jlab-nlp/RefPyDST] some code problems (Issue #1) |
Hi @txy77 ! Sorry for the delayed response. You'll probably need to follow the steps here to download and prepare the data. Specifically:
cd data
python create_data.py --main_dir mwz21 --mwz_ver 2.1 --target_path mwz2.1 # for MultiWOZ 2.1
python create_data.py --main_dir mwz24 --mwz_ver 2.4 --target_path mwz2.4 # for MultiWOZ 2.4
bash preprocess.sh
python sample.py --input_fn mwz2.1/train_dials.json --target_fn mw21_5p_train_seed0.json --ratio 0.05 --seed 0
bash download_mw23.sh
python build_coref_only_dataset.py
If you have already done that, I would make sure you set the environment variable for the data directory, like so:
export REFPYDST_DATA_DIR="/absolute/path/to/data"
Or from within the ./data directory:
export REFPYDST_DATA_DIR="`pwd`"
Hope this helps!
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Hi! It looks like the argument is defined, but the path does not exist. I had written some helper code that might be getting in the way here. In the run I pre-defined,
Sorry you ran into this, this file-path parsing pattern was useful in my experiments but I probably should have simplified for the code release |
Hi!
|
When I run bash codex_expmt_folder_runner.sh runs /codex/mw21_1p_train/python, it seems that I get the error.
![image](https://private-user-images.githubusercontent.com/55396195/253845444-32c2ed54-5334-4f6c-be3e-15e32061a2b7.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxNjk4NzEsIm5iZiI6MTczOTE2OTU3MSwicGF0aCI6Ii81NTM5NjE5NS8yNTM4NDU0NDQtMzJjMmVkNTQtNTMzNC00ZjZjLWJlM2UtMTVlMzIwNjFhMmI3LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjEwVDA2MzkzMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWNkNjQwMWE2NGEwZTMxMTFiMjZmYTE2YmQ1MDcxNmRjNDgwODkyMmYzYjNjN2JiMjgwYjk2MGMwZjU5MDg1MDcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.bo9RBZZ3yBZ3bLynAJ6e9gotoSsNuXG9tEch0uSFUPQ)
The text was updated successfully, but these errors were encountered: