Code Monkey home page Code Monkey logo

Comments (5)

jiaxiang-wu avatar jiaxiang-wu commented on July 20, 2024

Can you post the full content of your path.conf file?

from pocketflow.

zhangqianYY avatar zhangqianYY commented on July 20, 2024

the following is full content of 'path.conf':

# Notes on HDFS-related configurations:

# * data_hdfs_host:

# HDFS host for remote datasets.

# This will be used by TensorFlow's data input pipeline.

# Format: hdfs://IP_Address:Port

# Leave 'None' unchanged if HDFS is not availabe.

# * model_http_url:

# HTTP/HTTPS url for remote model files.

# This will be used to download pre-trained models via .

# Format: http://aaa.bbb.ccc OR https://aaa.bbb.ccc

# Set it to 'None' if such connection is not available.

# How to setup the directory path:

# * If a data directory path exists, then replace 'None' with the actual path, e.g.:

# data_dir_local_cifar10 = /home/user_name/datasets/cifar-10/cifar-10-batches-bin

# which setups the path to the CIFAR-10 dataset on the local machine.

# * Otherwise, leave 'None' unchanged.

# data files

data_hdfs_host = None
data_dir_local_cifar10=/home/gavin/PycharmProjects/datasets/cifar10_data/cifar-10-batches-bin
data_dir_hdfs_cifar10 = None
data_dir_seven_cifar10 = None
data_dir_docker_cifar10 = /opt/ml/data # DO NOT EDIT
data_dir_local_ilsvrc12 = None
data_dir_hdfs_ilsvrc12 = None
data_dir_seven_ilsvrc12 = None
data_dir_docker_ilsvrc12 = /opt/ml/data # DO NOT EDIT

# model files

model_http_url = https://api.ai.tencent.com/pocketflow

Can you post the full content of your path.conf file?

Can you post the full content of your path.conf file?

from pocketflow.

jiaxiang-wu avatar jiaxiang-wu commented on July 20, 2024

Please change

data_dir_local_cifar10=/home/gavin/PycharmProjects/datasets/cifar10_data/cifar-10-batches-bin

into

data_dir_local_cifar10 = /home/gavin/PycharmProjects/datasets/cifar10_data/cifar-10-batches-bin

which surrounds "=" with two whitespaces, as required by utils/get_path_args.py.

https://github.com/Tencent/PocketFlow/blob/master/utils/get_path_args.py#L50

from pocketflow.

zhangqianYY avatar zhangqianYY commented on July 20, 2024

Please change

data_dir_local_cifar10=/home/gavin/PycharmProjects/datasets/cifar10_data/cifar-10-batches-bin

into

data_dir_local_cifar10 = /home/gavin/PycharmProjects/datasets/cifar10_data/cifar-10-batches-bin

which surrounds "=" with two whitespaces, as required by utils/get_path_args.py.

https://github.com/Tencent/PocketFlow/blob/master/utils/get_path_args.py#L50

I succeeded,thank you very much for your help

from pocketflow.

jiaxiang-wu avatar jiaxiang-wu commented on July 20, 2024

You're welcome.

from pocketflow.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.