lllyasviel / danbooregion Goto Github PK
View Code? Open in Web Editor NEWDanbooRegion: An Illustration Region Dataset (ECCV 2020)
License: Apache License 2.0
DanbooRegion: An Illustration Region Dataset (ECCV 2020)
License: Apache License 2.0
out-of-date
After installing all the dependencies, I get an error stating this:
UserWarning: No training configuration found in save file: the model was not compiled. Compile it manually.
warnings.warn('No training configuration found in save file: '
begin load
and then it cuts off and closes the program.
I made sure to version match to all the python dependencies and am currently using python 3.6 on a virtual environment created by python on windows 10 with a Geforce GTX 1070 TI
The full cmd prompt looks like this:
(venv) C:\Users\User\Downloads\DanbooRegion-master2\DanbooRegion-master\code>python segment.py emilia.jpg
Using TensorFlow backend.
C:\Users\User\Downloads\venv\lib\site-packages\tensorflow\python\framework\dtypes.py:493: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint8 = np.dtype([("qint8", np.int8, 1)])
C:\Users\User\Downloads\venv\lib\site-packages\tensorflow\python\framework\dtypes.py:494: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_quint8 = np.dtype([("quint8", np.uint8, 1)])
C:\Users\User\Downloads\venv\lib\site-packages\tensorflow\python\framework\dtypes.py:495: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint16 = np.dtype([("qint16", np.int16, 1)])
C:\Users\User\Downloads\venv\lib\site-packages\tensorflow\python\framework\dtypes.py:496: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_quint16 = np.dtype([("quint16", np.uint16, 1)])
C:\Users\User\Downloads\venv\lib\site-packages\tensorflow\python\framework\dtypes.py:497: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
_np_qint32 = np.dtype([("qint32", np.int32, 1)])
C:\Users\User\Downloads\venv\lib\site-packages\tensorflow\python\framework\dtypes.py:502: FutureWarning: Passing (type, 1) or '1type' as a synonym of type is deprecated; in a future version of numpy, it will be understood as (type, (1,)) / '(1,)type'.
np_resource = np.dtype([("resource", np.ubyte, 1)])
2021-06-11 13:52:13.410991: I C:\tf_jenkins\workspace\rel-win\M\windows-gpu\PY\36\tensorflow\core\platform\cpu_feature_guard.cc:137] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX AVX2
2021-06-11 13:52:13.649483: I C:\tf_jenkins\workspace\rel-win\M\windows-gpu\PY\36\tensorflow\core\common_runtime\gpu\gpu_device.cc:1105] Found device 0 with properties:
name: NVIDIA GeForce GTX 1070 Ti major: 6 minor: 1 memoryClockRate(GHz): 1.683
pciBusID: 0000:01:00.0
totalMemory: 8.00GiB freeMemory: 7.05GiB
2021-06-11 13:52:13.649679: I C:\tf_jenkins\workspace\rel-win\M\windows-gpu\PY\36\tensorflow\core\common_runtime\gpu\gpu_device.cc:1195] Creating TensorFlow device (/device:GPU:0) -> (device: 0, name: NVIDIA GeForce GTX 1070 Ti, pci bus id: 0000:01:00.0, compute capability: 6.1)
C:\Users\User\Downloads\venv\lib\site-packages\keras\engine\saving.py:292: UserWarning: No training configuration found in save file: the model was not compiled. Compile it manually.
warnings.warn('No training configuration found in save file: '
begin load
out-of-date
Thank you for sharing your dataset.
But, I can not unzip files that are downloaded from google drive https://drive.google.com/drive/folders/1ihLt6P7UQRlaFtZUEclXkWC9grmEXEUK?usp=sharing
I try on Ubuntu18.04 and Mac, but fail unzip on both environments.
❯ unzip DanbooRegion2020.zip.077
Archive: DanbooRegion2020.zip.077
fatal error: read failure while seeking for End-of-centdir-64 signature.
This zipfile is corrupt.
unzip: cannot find zipfile directory in one of DanbooRegion2020.zip.077 or
DanbooRegion2020.zip.077.zip, and cannot find DanbooRegion2020.zip.077.ZIP, period.
Thanks.
Hi, thanks for you work, and I want to know how to run 10.3 and get reflectance image,
Hoping to get your replay, thanks!
In https://github.com/lllyasviel/DanbooRegion#something-about-the-dataset-quality it's mentioned that each image was scored from 0.0 to 5.0. Is this data provided in the dataset? For example could I filter out annotations with a score < 2.5?
I walk throughout all steps even i change my tensorflow gpu versions buh same error i face
First of all, thank you very much for sharing your interesting project!
I tried to setup an environment with Docker, and the following example code ran without error and output three images as expected.
python segment.py ./emilia.jpg
However, the output looks like somewhat different from what is shown on README. (The following image is current_skelton.png which is output by the sample code.)
Note: I've changed numba version according to this issue.
FROM nvidia/cuda:9.0-cudnn7-runtime-ubuntu16.04
RUN apt-get update\
&& apt-get install -y --no-install-recommends \
wget gcc make zlib1g-dev libssl-dev libopencv-dev \
&& apt-get -y clean \
&& rm -rf /var/lib/apt/lists/*
RUN apt-get remove -y --allow-change-held-packages libcudnn7
RUN apt-get update && apt-get install -y --no-install-recommends \
libcudnn7=7.0.5.15-1+cuda9.0 \
&& apt-mark hold libcudnn7 && \
rm -rf /var/lib/apt/lists/*
RUN wget https://www.python.org/ftp/python/3.6.11/Python-3.6.11.tgz \
&& tar zxvf Python-3.6.11.tgz \
&& cd Python-3.6.11 \
&& ./configure \
&& make && make install \
&& ln -s /usr/local/bin/python3.6 /usr/local/bin/python \
&& ln -s /usr/local/bin/pip3.6 /usr/local/bin/pip \
&& cd .. \
&& rm -r Python-3.6.11*
RUN pip install -U pip \
&& pip install tensorflow-gpu==1.5.0 \
&& pip install keras==2.2.4 \
&& pip install opencv-python==3.4.2.17 \
&& pip install numpy==1.15.4 \
&& pip install numba==0.49.0 \
&& pip install scipy==1.1.0 \
&& pip install scikit-image==0.13.0 \
&& pip install scikit-learn==0.22.2 \
&& pip install -U h5py==2.10.0 \
&& pip cache purge
# Working directory is a directory where I created the Dockerfile.
docker build -t sample:0.1 .
# Mount project directory and execute sample code.
sudo docker run -it --rm --gpus all -v /path/to/DanbooRegion:/DanbooRegion --name debug sample:0.1 /bin/bash
$ cd /DanbooRegion/code
$ python segment.py ./emilia.jpg
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.