-
Notifications
You must be signed in to change notification settings - Fork 220
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
Some questions about training, please #197
Comments
|
Hello, thanks for your kind reply and precise answer. But you seemed to miss my third question. In my experience, the reason for different test results on the same model is random sampling. However, the seed of the random number generator is fixed in the code to generate a random sequence that can be repeated.
|
The random seed implementation of PyTorch-Lightning changed frequently, sometimes it only works for trainer but not dataloader. You can check trainer.html#reproducibility to set the fixed seed for both trainer and dataloader. |
i also cant find the test.txt file not the test150.txt (base) root@3fb49ee304fe:/home# python -m scripts.render_batch -headless -out_dir data/
Start Rendering thuman2 with 36 views, 512x512 size.
Output dir: data//thuman2_36views
Rendering types: ['light', 'normal', 'depth']
0%| | 0/2 [00:02<?, ?it/s]
Traceback (most recent call last):
File "/opt/conda/lib/python3.8/runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/opt/conda/lib/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/home/scripts/render_batch.py", line 268, in <module>
render_subject( subject=subject,
File "/home/scripts/render_batch.py", line 86, in render_subject
rndr_smpl = ColorRender(width=size, height=size, egl=egl)
File "/home/lib/renderer/gl/color_render.py", line 34, in __init__
CamRender.__init__(
File "/home/lib/renderer/gl/cam_render.py", line 33, in __init__
Render.__init__(
File "/home/lib/renderer/gl/render.py", line 200, in __init__
GLUT.glutDisplayFunc(self.display)
File "/opt/conda/lib/python3.8/site-packages/OpenGL/GLUT/special.py", line 147, in __call__
contextdata.setValue( self.CONTEXT_DATA_KEY, cCallback )
File "/opt/conda/lib/python3.8/site-packages/OpenGL/contextdata.py", line 58, in setValue
context = getContext( context )
File "/opt/conda/lib/python3.8/site-packages/OpenGL/contextdata.py", line 40, in getContext
raise error.Error(
OpenGL.error.Error: Attempt to retrieve context when no valid context |
I have trained the normal and implicit networks separately and tested them on the cape data set. In this process, I have some questions to ask and confirm. I sincerely hope to get your help.
test.txt
file, so I changedtest150.txt
totest.txt
, I am not sure if this operation is correct. I found thattest150.txt
contains 150 models (Easy: 50, Hard: 100), but I found the following lines in the code:So I may have done something wrong here. How many cape models did you use for testing? Also, I would like to know how to extrapolate
cape-NC
fromcape-easy-NC
andcape-hard-NC
.3. I also used the pre-training model you provided for testing on the cape data set, and found that the results were not the same every time. I wonder whether this is normal.
4. Your pre-training model is not trained on thuman2.0, I was wondering if you could update the Benchmark (train on THuman2.0, test on CAPE), because you mentioned that testing results are better than the reported results.https://github.com/YuliangXiu/ICON/issues/183#issuecomment-1445002583
The text was updated successfully, but these errors were encountered: