0

i am currently using a config file to train a model in tensorflow. Inside the config file, i need to specify a python path. Since im on windows, my paths obviosly looks like these r"C:\path\path\path. But when tensorflow is using the configfile, i get this error:

fine_tune_checkpoint: r'C:\path\path\path\ckpt-0': Expected string but found: 'r'

Anyone has encountered a similar problem?

1 Answers1

-2

Looks like it tripped because there was an r written outside of your quotation marks. I'd try to delete that and see if it works, or if the r is in your path, add it within the quotation marks.

  • 1
    Hi, this should be a comment, not an answer. – mapf Nov 03 '21 at 20:15
  • 2
    It was an answer for a question that was asked. Why should it be a comment versus an answer? – evanr50 Nov 03 '21 at 20:32
  • It's nice that you ask and I don't mean this in a rude way, but in short, because it lacks quality. There are several reasons: 1) it's very short, answers in most cases should be longer; 2) it's only a guess, neither you or OP validaded that this is in fact the cause; 3) it's wrong. Now none of this is really an issue in itself, it's great that you want to help, but when you are this uncertain, it's better to post the suggestion as a comment. You can always follow it up with an elaborate answer if it turns out correct. – mapf Nov 03 '21 at 20:52