-
Notifications
You must be signed in to change notification settings - Fork 20
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
Detailed code running steps #32
Comments
Thank you for your interest in our work. Currently, I do not have any plan to provide a step-by-step tutorial, but I will consider doing so in the future (maybe after June). You can reproduce the experiment following the README, as all necessary steps are clearly outlined there. If you have any questions, you can post them in an issue, which would be convenient for others to refer to as well. |
Thank you very much for your comments and I will try to use it. Thank you sincerely for your answer. |
Hello, author. I sincerely hope you can give me some help when you have time. When I am running the following Data Preparation step 3 cd ./preprocess The terminal display is as follows (base)user5@com:~/Downloads/VAC_CSL-main/preprocess$ Then, I run dataset_preprocess.py in the pycharm FileNotFoundError: [Errno 2] No such file or directory: '../dataset/phoenix2014/phoenix-2014-multisigner/annotations/manual/dev.corpus.csv' I have already done the second step of Data Preparation, I can also see the phienix2014 after the soft link in the dataset. |
You can check whether this file "dev.corpus.csv" exists, which is the annotation file of phienix2014 dataset. |
Hello, author.Thank you for your answer. I checked the folder and found this file "dev.corpus.csv". I'm sorry to mislead you, my file name is wrong, Ha ha ha. I see actually Author, I have a little comment that you can edit again before after |
I encountered a problem while running the "python main.py --load-weights resnet18_slr_pretrained.pt --phase test"
RuntimeError: CUDA error : invalid device ordinal I running "print(torch.cuda.device_count())" show I running show |
Thank you for pointing out this typo and it has been corrected. The default configuration file use two GPUs. You can modify it according to your actual situation. For example, if you only want to use one card (e.g., cuda:0), you can make the necessary changes accordingly:
|
Hello, author. I ran into some problems while running the suggestions you gave me Terminal display I downloaded the file on Baidu pan. The name of the file is "resnet18_slr_pretrained_distill25.pt" . I put it in this directory. home/user5/Downloads/VAC_CSL-main/resnet18_slr_pretrained_distill25.pt (Didn't decompress it) I running Terminal display train 5671 dev 540 test 629 Loading data finished . |
Hi, @kido1412y2y,similar issue here, you can check whether processed images are found. |
I see it, but I really don't understand. How do I check whether processed images are found, Could you please describe it in more detail? What are the areas I need to compare and where do I need to correct them? |
During preprocessing, frames are extracted from video, the glob function here is adopted to load frames. When it fails (the path is wrong or the frames are not extracted), the img_list is empty and leads to IndexError. |
Hello, author, I found that there seems to be a problem with data preparation, and the original image has not been successfully adjusted to 256x256. Without this file "/dataset/phoenix2014/phoenix-2014-multisigner/features/fullFrame-256x256px" Only this file"/dataset/phoenix2014/phoenix-2014-multisigner/features/fullFrame-210x260px" I running Terminal display I running Terminal display I have modified the file permissions through chmod 777 |
Perhaps you need to check the permission of |
Hello , when I am running : python main.py --work-dir /home/user/VAC_CSLR-main/work_dir/baseline_res18/ --config /home/VAC_CSLR-main/configs/baseline.yaml --device 0 , the error will be reported as follows: Loading model train 5671 dev 540 test 629 Loading data finished. After I set batch_size and test_batch_size to 1, this problem will still occur. Is there not enough graphics card memory or something else?(gpu can run normally) |
Hi, @Dikay1. I have not met this problem before, it seems like a problem of ctcdecoder, you can find some information from this issue. |
Hello. I had the same problem. Have you solved it yet? |
Hi, @xxxiaosong .It's been a bit long and I can't remember some of it, I may have reinstalled ctcdecoder. |
Thanks for your reply. |
Hello author ! When I run : python main.py --work-dir ./work_dir/vac/ --config ./configs/baseline.yaml --device 0 ,the error occurred: /(vac) user2@com:~/data/VAC_CSLR-main$ python main.py --work-dir ./work_dir/vac/ --config ./configs/baseline.yaml --device 0 train 5671 dev 540 test 629 Loading data finished. 0%| | 0/2835 [00:00<?, ?it/s] Can you help me please, Thank you very much! I have successfully used you provide the pretrained models to inference, and have also obtained the same results. |
Hello, author. Could you please provide a specific code execution process, such as which code to run in the first step. I really want to reproduce your code, but my ability is really insufficient. I sincerely hope you can help me。
The text was updated successfully, but these errors were encountered: