trigeorgis / mdm

A TensorFlow implementation of the Mnemonic Descent Method.
BSD 3-Clause "New" or "Revised" License
124 stars 48 forks source link

Environment establishment #9

Closed Dingyuan-Zheng closed 6 years ago

Dingyuan-Zheng commented 7 years ago

I'm a newbie in Tensorflow. Currently, I'm trying to run the demo (Demo.ipynb) given in the source code. But I can't install Tensorflow (using the method: 'install from source' given in the Tensorflow official website) inside the Conda environment. Specifically, after I git clone from the repository (https://github.com/trigeorgis/tensorflow), I can't pass the configure operation (./configure), could you give me a detailed manual for the environment configuration? I've installed menpo package under Conda environment, what should I do next? How can I install Tensforflow from your repository into Conda environment, then I can import both Tensorflow and menpo libraries at the same time.

HuitingLiu commented 7 years ago

Same here. Following the instructions: https://www.tensorflow.org/install/install_sources

There are two errors: bazel build --config=opt //tensorflow/tools/pip_package:build_pip_package ERROR: tensorflow/tensorflow/tensorflow.bzl:476:19: name 'DATA_CFG' is not defined. ERROR: error loading package '': Extension 'tensorflow/tensorflow.bzl' has errors.

superphil0 commented 7 years ago

Had the same problem make sure you use the bazel version which was used at the time to 0.8 was released. Same for protobuf versions and all other dependencies

qiexing commented 7 years ago

@HuitingLiu I have the exactly same problem as you, did you solve this problem?

euklid commented 7 years ago

same here. Probably would be best if the changes applied to the older tensorflow version could be ported to a newer version of tensorflow. However, I'm not familiar with tensorflow at all, but wanted to try this code...

zhm1995 commented 6 years ago

@HuitingLiu Hello? I have the same problem with you. Have you solved this problem?

trigeorgis commented 6 years ago

You can try the implementation provided at the experimental branch, but unfortunately it doesn't come with a pretrained model.

devvikas commented 4 years ago

@trigeorgis You can try the implementation provided at the experimental branch, but unfortunately it doesn't come with a pretrained model.

Which branch are you talking about here ?