Ruxie189 / WSS_POLE

This is the official implementation of our PrOmpt cLass lEarning (POLE).
MIT License
8 stars 1 forks source link

sim_tset.jupyter #5

Open zbb1111 opened 2 months ago

zbb1111 commented 2 months ago

Thank you for your excellent article! I encountered the following problem while running the code, and I don't know how to solve it. Can you tell me what to do? Looking forward to your reply!

  1. vis_path=?
  2. Dataset_path=? three (POLE) zyp@sdu-MS-7D31 :~/1/WSS-POLE main $CUDA_VISIBLE-DEVICES=0,1 Python sim_test.py Using device (CUDA recommended for fast processing): cuda Prompt dict: {'2007000032 ': ['a photo of {}.']} Source_img_path:/home/zyp/1/WSS-POLE main/VOC2012/JPEGImages/2007:000032.jpg Traceback (most recent call last): File "/home/zyp/1/WSS-POLE main/sim_test. py", line 60, in Classname=classes [int (sorted (os. listdir (os. path. coin (vis_path, test_imgname)))) [num] [6:4])] NameError: name 'classes' is not defined How do we find classes?
  3. Is the correct operating procedure to run sim_test.jupyter and then run run_cLIMS.sh?