endernewton / tf-faster-rcnn

Tensorflow Faster RCNN for Object Detection
https://arxiv.org/pdf/1702.02138.pdf
MIT License
3.65k stars 1.58k forks source link

Train your own model arise error #412

Open meiyu422321 opened 5 years ago

meiyu422321 commented 5 years ago

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.

wudi00 commented 5 years ago

I meet the same error, have you solved it?

jundeli commented 5 years ago

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

carrie2780 commented 3 years ago

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.