Open erixavero opened 4 years ago
Yes also confused on this
Hi,
I have tried to create a small code to run predictions but still getting stuck as the predictions for example landmarks are supposed to be converted in order to be superimposed on the original image. It is getting confusing to obtain proper prediction which can be displayed over original input image for testing purposes.
model = const.USE_NET() model = model.to(const.device) model.load_state_dict(torch.load(PATH))
where PATH is the location of .pkl file. I modified forward function of lm_networks in order to read a normal image but still unable to get proper predictions. Any update will be highly appreciated.
Thanks
once training is finished, there is a 'models' folder and pkl file created, is this the fully trained model? and how to use it to run prediction? here is my specs Ubuntu 18.04.3 LTS Cuda compilation tools, release 9.1, V9.1.85 Python 3.7.0