DMGNN icon indicating copy to clipboard operation
DMGNN copied to clipboard

call a class in jupyter notbeook

Open elhamravanbakhsh opened this issue 3 years ago • 0 comments

Can you help me how can I call REC_Processor class in jupyter notebook? I got this error:

usage: ipykernel_launcher.py [-w WORK_DIR] [-c CONFIG] [--phase PHASE] [--save_result SAVE_RESULT] [--iter_num ITER_NUM] [--use_gpu USE_GPU] [--device DEVICE [DEVICE ...]] [--log_interval LOG_INTERVAL] [--save_interval SAVE_INTERVAL] [--eval_interval EVAL_INTERVAL] [--savemotion_interval SAVEMOTION_INTERVAL] [--save_log SAVE_LOG] [--print_log PRINT_LOG] [--pavi_log PAVI_LOG] [--actions ACTIONS] [--data_dir DATA_DIR] [--subtrain SUBTRAIN] [--subtest SUBTEST] [--batch_size BATCH_SIZE] [--source_seq_len SOURCE_SEQ_LEN] [--target_seq_len TARGET_SEQ_LEN] [--model MODEL] [--model_args MODEL_ARGS] [--edge_weighting EDGE_WEIGHTING] [--weights WEIGHTS] [--ignore_weights IGNORE_WEIGHTS [IGNORE_WEIGHTS ...]] [--base_lr BASE_LR] [--step STEP [STEP ...]] [--optimizer OPTIMIZER] [--nesterov NESTEROV] [--weight_decay WEIGHT_DECAY] [--lamda LAMDA] [--fusion_layer_dir FUSION_LAYER_DIR] [--learning_rate_dir LEARNING_RATE_DIR] [--lamda_dir LAMDA_DIR] [--crossw_dir CROSSW_DIR] [--note NOTE] [--debug DEBUG] ipykernel_launcher.py: error: unrecognized arguments: -f /home/elham/.local/share/jupyter/runtime/kernel-f4a67c30-c0fb-4808-808d-8763f16ab43e.json An exception has occurred, use %tb to see the full traceback.

SystemExit: 2

elhamravanbakhsh avatar Mar 19 '21 01:03 elhamravanbakhsh