hclhkbu / dlbench

Benchmarking State-of-the-Art Deep Learning Software Tools
http://dlbench.comp.hkbu.edu.hk/
MIT License
170 stars 47 forks source link

Tensorflow benchmark does not work #12

Closed xumukns closed 7 years ago

xumukns commented 7 years ago

Could you help me please to start tesnsorflow benchmark? The python script calls a bash script "t.sh" from home folder. What is it? As I commented it out, I've got:

File "fcn5_mnist.py", line 2, in import models1 as models ImportError: No module named models1 finished with execute time: .942914696 ./t.sh: Zeile 10: deactivate: Command not found.

What do I wrong?

Thanks a lot in advance

shyhuai commented 7 years ago

"t.sh" is the script to run the benchmark, and it receives the arguments of batch_size, epochs and deviceId. There is a typos in the file of fcn5_minst.py. I have fixed it. Please pull the newest code and try again. You can run with the command like: batch_size=1024 epochs=40 deviceId=0 ./t.sh

xumukns commented 7 years ago

Thank you for the fast response and help. It seems to work. Could you say please, the lines in the t.sh

... source ~/tf11/bin/activate ... deactivate ...

Can I comment it out? I get always in the log file "./t.sh: line 10: deactivate: command not found..."

And other question. if I use the option "-post True" I get:

Traceback (most recent call last): File "post_record.py", line 3, in import settings ImportError: No module named settings

where can find this part "settings"? Is it critical ?

Thanks

best regards Sergey

shyhuai commented 7 years ago

The deactivate command is used for virtual python environment of TensorFlow, so if you don't use the virtual environment, you can comment it out. Please use the option of "-post False" for experiments. It's a neglectable option.

xumukns commented 7 years ago

Thank you very much. It works.