torralba-lab / im2recipe

Code supporting the CVPR 2017 paper "Learning Cross-modal Embeddings for Cooking Recipes and Food Images"
MIT License
374 stars 89 forks source link

No corresponding file for logfile.txt ? #4

Closed MicaelCarvalho closed 7 years ago

MicaelCarvalho commented 7 years ago

Hello,

On the README, there is a paragraph stating that one can plot loss curves using logfile.txt as input, as follows: plotcurve.py -logfile /path/to/logfile.txt.

I could not, however, find any file, parameter or output of the training step that corresponds to this file. Could you please inform me where it comes from? Or is it some old code that is no longer used? Looking at the structure of plotcurve.py it seems this file should be in the CSV format.

Thank you in advance :-)

amaiasalvador commented 7 years ago

Hi,

logifle.txt should contain the stdout of main.lua. Redirect it when you launch training with th main.lua > /path/to/logfile.txt. I have included this in the README now to avoid future confusion. Many thanks !