Skip to content
Snippets Groups Projects
Select Git revision
  • 2132a14bc5ec0241a0c8095a8896c2c646d5464b
  • master default protected
  • emoUS
  • add_default_vectorizer_and_pretrained_loading
  • clean_code
  • readme
  • issue127
  • generalized_action_dicts
  • ppo_num_dialogues
  • crossowoz_ddpt
  • issue_114
  • robust_masking_feature
  • scgpt_exp
  • e2e-soloist
  • convlab_exp
  • change_system_act_in_env
  • pre-training
  • nlg-scgpt
  • remapping_actions
  • soloist
20 results

__init__.py

Blame
  • user avatar
    Carel van Niekerk authored
    04024645
    History
    Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    __init__.py 419 B
    
    import os
    from convlab2.nlu import NLU
    from convlab2.dst import DST
    from convlab2.policy import Policy
    from convlab2.nlg import NLG
    from convlab2.dialog_agent import Agent, PipelineAgent
    from convlab2.dialog_agent import Session, BiSession, DealornotSession
    
    from os.path import abspath, dirname
    
    
    def get_root_path():
        return dirname(dirname(abspath(__file__)))
    
    
    DATA_ROOT = os.path.join(get_root_path(), 'data')