Skip to content

Training with my own data : Multiple problems arising #152

@matthiasmace

Description

@matthiasmace

Hello
I am trying to train cfrasrnn with my own data using https://github.com/martinkersner/train-CRF-RNN/
I had to slightly modify some pieces of the code to make it run on my Mac (OSX.12) but it now runs the training.
I have one first problem when trying to parse the log file in order to vizualise loss (using loss_from_log.py https://github.com/martinkersner/train-CRF-RNN/blob/master/loss_from_log.py) :
Traceback (most recent call last):
File "loss_from_log.py", line 123, in
main()
File "loss_from_log.py", line 43, in main
train_loss.append(float(matched.group(1)))
AttributeError: 'NoneType' object has no attribute 'group'

Indeed, in the log file, there's no "loss-ft" output. Why ?

The second is that when I try to use the caffemodel output (e.g. iteration 5000 or 7000) to test if it recognizes object, it now fails to do so (I tried with various objects).
What am I doing wrong please ?
Many thanks if any one can help !

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions