CSAILVision / CSAILVision/places365

./train_places_cnn.py: line 23: syntax error near unexpected token `('

Open
#50 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
2.1k
Forks
538
PR merge metrics
No merged PRs in 30d

Description

I'm trying to run the train places py code provided and after a whole weekend of waiting, I got this error:

./train_places_cnn.py: line 23: syntax error near unexpected token `('
./train_places_cnn.py: line 23: 'model_names = sorted(name for name in models.__dict__'

I have not modified train_places_cnn.py.

I was hoping to get a snapshot.caffemodel file generated so I can plug this model into the nvidia GRE. I have had success testing with the places 205 model, but I was not able to locate a places365 snapshot file on the github or some direct route to downloading it.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with train_places_cnn.py at line 23 and reproduce the reported command to inspect how the script is being invoked. Check the project’s instructions for running the script and for obtaining or generating snapshot.caffemodel; done means the invocation and expected model-output path are clarified.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
machine-learning
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.