tf-faster-rcnn icon indicating copy to clipboard operation
tf-faster-rcnn copied to clipboard

Train your own model arise error

Open meiyu422321 opened this issue 6 years ago • 3 comments

When I enter python ./experiments/scripts/train.sh 0 coco vgg16,

arise the error. File "./experiments/scripts/train_faster_rcnn.sh", line 6 export PYTHONUNBUFFERED="True" ^ SyntaxError: invalid syntax

Please help me solve the problem.

meiyu422321 avatar Dec 26 '18 11:12 meiyu422321

I meet the same error, have you solved it?

wudi00 avatar Jun 01 '19 00:06 wudi00

Hi both, i met the same problem. Hope to get your help you know how to solve it. @ @

jundeli avatar Jul 12 '19 20:07 jundeli

Hi all, if you are using Anaconda to build a Python environment, please do the following two steps:

  1. conda install m2-base
  2. bash ./experiments/scripts/train.sh 0 coco vgg16 This is because the command is in the bash environment (Linux), you need to build a corresponding environment in Python.

I have met the same problem but I solved it by this.

carrie2780 avatar Jan 18 '21 04:01 carrie2780