Coder Social home page Coder Social logo

Comments (4)

baolonghnu avatar baolonghnu commented on April 28, 2024

Solved by using command.

/google-research$ python -m unprocessing.train
--model_dir=/path/to/models/unprocessing_mirflickr
--train_pattern=/path/to/mirflickr/train/.jpg
--test_pattern=/path/to/mirflickr/test/
.jpg

from google-research.

IronLavender avatar IronLavender commented on April 28, 2024

Solved by using command.

/google-research$ python -m unprocessing.train
--model_dir=/path/to/models/unprocessing_mirflickr
--train_pattern=/path/to/mirflickr/train/.jpg --test_pattern=/path/to/mirflickr/test/.jpg

Could you tell me what is your dataset catalog like? I set the train_pattern, but always have incomprehensible mistakes. Thank you!

from google-research.

baolonghnu avatar baolonghnu commented on April 28, 2024

There are missing * between train/ and .jpg, which is also applied for between test/ and .jpg. *.jpg

/google-research$ python -m unprocessing.train
--model_dir=/path/to/models/unprocessing_mirflickr
--train_pattern=/path/to/mirflickr/train/.jpg --test_pattern=/path/to/mirflickr/test/.jpg

from google-research.

diarmaidocualain avatar diarmaidocualain commented on April 28, 2024

Hi, I had a similiar issue. I was getting the following error: tensorflow.python.framework.errors_impl.InvalidArgumentError: assertion failed: [No files matched pattern: /home/bob/Dev/denoising/unprocessing/mirflickr/train/]
[[{{node list_files/assert_not_empty/Assert}}]]

What fixed it was to change the command to:

python -m unprocessing.train --model_dir=/home/bob/Dev/denoising/google-research/unprocessing/unprocessing_models/models/unprocessing_mir_flickr/ --train_pattern='/home/bob/Dev/denoising/unprocessing/mirflickr/train/*.jpg' --test_pattern='/home/bob/Dev/denoising/unprocessing/mirflickr/test/*.jpg'

Note the additon of the *.jpg and comments around the train_pattern and test_pattern parameters if you are running this from the bash command line. You can remove the comments if you are running it from a pycharm configuration.

from google-research.

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.