{"id":19643781,"url":"https://github.com/logicalclocks/tensorflow-chef","last_synced_at":"2025-04-28T13:31:13.243Z","repository":{"id":44101602,"uuid":"65803721","full_name":"logicalclocks/tensorflow-chef","owner":"logicalclocks","description":"This is Chef Cookbook (Karamelized) to install Tensorflow using chef solo. Tensorflow is a Google framework for deep learning.","archived":false,"fork":false,"pushed_at":"2024-10-09T10:20:35.000Z","size":454,"stargazers_count":1,"open_issues_count":0,"forks_count":17,"subscribers_count":18,"default_branch":"master","last_synced_at":"2025-04-05T09:04:21.606Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/logicalclocks.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-08-16T08:51:37.000Z","updated_at":"2024-06-14T09:03:37.000Z","dependencies_parsed_at":"2024-06-14T10:27:13.420Z","dependency_job_id":"65e3afbe-5c07-4cba-bfb0-204520980e5c","html_url":"https://github.com/logicalclocks/tensorflow-chef","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/logicalclocks%2Ftensorflow-chef","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/logicalclocks%2Ftensorflow-chef/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/logicalclocks%2Ftensorflow-chef/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/logicalclocks%2Ftensorflow-chef/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/logicalclocks","download_url":"https://codeload.github.com/logicalclocks/tensorflow-chef/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251319756,"owners_count":21570450,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-11T14:23:59.233Z","updated_at":"2025-04-28T13:31:08.222Z","avatar_url":"https://github.com/logicalclocks.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"### Tensorflow Cookbook\nAuthor: Jim Dowling\n\nOS support: Ubuntu 16+, Centos 7+\n\n\nRequirements for Vagrant installation: chefdk\n\n\n##Vagrant Usage\n\nInstall chefdk (https://downloads.chef.io/chef-dk)\n\n./run-vagrant.sh\n\n\n## Karamel Usages\n\n\n1. Create a project \"tf\"\n2. upload tf.csv to tf/Resources in hdfs\n3.\nsource $HADOOP_HOME/libexec/hadoop-config.sh\nexport LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$JAVA_HOME/jre/lib/amd64/server\nCLASSPATH=$($HADOOP_HDFS_HOME/bin/hdfs classpath --glob) python test-read.py\n\n\nTo HDFS with TensorFlow, change the file paths you use to read and write\ndata to an HDFS path. For example:\n\nfilename_queue = tf.train.string_input_producer([\n    \"hdfs://namenode:8020/path/to/file1.csv\",\n    \"hdfs://namonode:8020/path/to/file2.csv\",\n])\nIf you want to use the namenode specified in your HDFS configuration files, then\nchange the file prefix to hdfs://default/.\n\nWhen launching your TensorFlow program, the following environment variables must\nbe set:\n\nJAVA_HOME: The location of your Java installation.\nHADOOP_HDFS_HOME: The location of your HDFS installation. You can also set this environment variable by running:\nsource $HADOOP_HOME/libexec/hadoop-config.sh\nLD_LIBRARY_PATH: To include the path to libjvm.so. On Linux:\nexport LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$JAVA_HOME/jre/lib/amd64/server\nCLASSPATH: The Hadoop jars must be added prior to running your TensorFlow program. The CLASSPATH set by $HADOOP_HOME/libexec/hadoop-config.sh is insufficient. Globs must be expanded as described in the libhdfs documentation:\nCLASSPATH=$($HADOOP_HDFS_HOME/bin/hdfs classpath --glob) python your_script.py\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flogicalclocks%2Ftensorflow-chef","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flogicalclocks%2Ftensorflow-chef","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flogicalclocks%2Ftensorflow-chef/lists"}