training code bug
yuyu0927 opened this issue · 3 comments
Hi Jianyuan,
When I run 'python train.py', there is a bug 'AttributeError: 'Vizstats' object has no attribute 'get status string''. I checked the codes, and I found both 'class VizStats(Stats)' in your code and 'class Stats(object)' in 'pytorch3d/implicitron/tools/stats.py' have no this attribute. I changed 'stats.get_status_string' into 'stats.print' and it works. But I am not sure if this is correct.
Kind regards,
Qingyu
Hi Qingyu,
I think it should be there, as a function of pytorch3d stats. But it is just something to print the logs out, you can choose anything you want. Using stats.print is correct, because get_status_string is just a wrapper for stats.print.
I would be able to test this part after mid November.
Hi Jianyuan,
You're right, it should be due to the difference in versions of pytorch3d.
I have another question about training code. from my view, the hyperparameter 'len_train' is used to control the number of iteration in each epoch. Does it have any relationship with 'num_sequences', which is the number of sequences/videos? Should it become larger when the size of dataset is larger?