markpwoodward / active_osl

Code for "Active One-shot Learning"
MIT License
32 stars 4 forks source link

Using model for predictions #3

Open emilyholt opened 5 years ago

emilyholt commented 5 years ago

Hi Mark! I'm interested in using and citing your model in my own research, but I'm currently struggling with modifying the code so that I can use the trained model for new predictions once its finished training. Would you mind elaborating on the example code you have in the README? Specifically, where that example code would fit in with the rest of the code, where and how the tensors last_label_t and features_t get generated (and how to capture them), etc.

Thank you for your help!

markpwoodward commented 5 years ago

Hi Emily, I have updated the main page with some more psuedocode. Basically you would create a new file, import model, and paste that code. The gist is that last_label_t and features_t are placeholders that I did not define in the psuedocode. I just added them.

Sorry for the delayed response.