How to use run.sh with Pycharm editor?
chenyanqi-C opened this issue · 13 comments
Hello author, I am recreating your paper. I want to ask how to use the Pycharm editor to run the run.sh file. I am a beginner. I want to adjust the parameters in the code because my GPU memory is not enough. What can I do? Thank you very much.
@chenyanqi-C
Sorry that I haven't try Pycharm before.
Could you revise `run.sh' in Pycharm and then execute the file in the command line?
Thanks for your reply, I have try this way,but it does not matter.
I have another question ,my GPU memory is not enough, which parameters should I adjust.I have try set max_frame smaller, but it seems useless, thank you.
What is the exact number of your GPU memory?
My GPU memory is 6G.
The GPU memory is too small. Did it work well in training?
Or the process corrupts immediately after it begins?
I ran the run.py program, and he can do it during the training part, but when it comes to "Creat dataloader for Test with batch_size 1", the "out of memory" problem occurs
Which dataset? MARS?
For MARS, you might set the max_frames to 300 or less.
I use mars.Should I set the batch_size , step_size,etc ,parameters?
And because I don't use run.sh to run, then in which .py file should I modify the max_frame value?
@chenyanqi-C
You can directly input the command, as it in the file ``run.sh''.
Is the command entered in the run.sh file? What command should I enter and how to run it.Can you tell me the specific operation? Thank you very much
One-Example-Person-ReID/run.sh
Line 20 in f792dde
Please see this line.
Use this command, and replace $xx by the expected value.
ok,I will try it again.thanks for your answer.