Giter Site home page Giter Site logo

Comments (14)

TachibanaYoshino avatar TachibanaYoshino commented on May 5, 2024

image
I think this runtime error has nothing to do with checkpoints. The model will automatically save the checkpoints only after each epoch is completed. Your error here appears in the process of data loading. Please check whether your data is missing, such as whether the style_smooth data exists.

from animeganv2.

PrincessAkira avatar PrincessAkira commented on May 5, 2024

image
They both exist and are popupated.
The files itself are jpgs in both.

from animeganv2.

PrincessAkira avatar PrincessAkira commented on May 5, 2024

Ok so Update.
It seems like it doesnt like .jpeg. it only takes .jpg although the twitter downloader i used gave me .jpeg. weird.
Wouldnt it be easier to convert every image to png or jpg, regardless of what extension they had?

EDIT:
So sometimes it straight up refuses images. I converted the tenet trailer into png`s, then ran them over the edge smooth and same error.

EDIT2:
Now its just straight up not liking .jpg file too.
Ill send you the images im trying with here. Theyre converted from mp4 through ffmpeg via ffmpeg -i input.mp4 -vf fps=5 style/elon%06d.jpg
https://drive.google.com/file/d/11nOdlG27C7Z-nwn-SuJsZ2n5o_BwnizY/view?usp=sharing

from animeganv2.

TachibanaYoshino avatar TachibanaYoshino commented on May 5, 2024

if path.split('.')[-1] not in ['jpg', 'jpeg', 'png', 'gif']:

You can see through this code that it supports jpg and jpeg. I don't know how your data is placed. If it is convenient, I can remotely control and check your code and data through teamViewer, and send me the teamViewer account and password via email.

from animeganv2.

PrincessAkira avatar PrincessAkira commented on May 5, 2024

if path.split('.')[-1] not in ['jpg', 'jpeg', 'png', 'gif']:

You can see through this code that it supports jpg and jpeg. I don't know how your data is placed. If it is convenient, I can remotely control and check your code and data through teamViewer, and send me the teamViewer account and password via email.

We can do that sure.
Im just git cloning this repo though as far as code goes.
using a conda env with python 3.6 with my installed packages here
A friend of mine also suggested that its my dataset that is wrong. Yesterday i tried to make a new dataset using only images i got from reddit via rightclick -> download.
image
Here you can see my dataset,. which in theory, should have worked.
Also is there a way to direct message on Github or something for the teamviewer id :D

from animeganv2.

TachibanaYoshino avatar TachibanaYoshino commented on May 5, 2024

I think it is very likely that the ImageGenerator class did not read the path of your image, or the path is set incorrectly somewhere.

from animeganv2.

PrincessAkira avatar PrincessAkira commented on May 5, 2024

I think it is very likely that the ImageGenerator class did not read the path of your image, or the path is set incorrectly somewhere.

Why does it work with some of them and when i add more it doesnt? Thats whats confusing me the most

from animeganv2.

TachibanaYoshino avatar TachibanaYoshino commented on May 5, 2024

I think it is very likely that the ImageGenerator class did not read the path of your image, or the path is set incorrectly somewhere.

Why does it work with some of them and when i add more it doesnt? Thats whats confusing me the most

That's so sad. I don't know your specific situation.

from animeganv2.

PrincessAkira avatar PrincessAkira commented on May 5, 2024

I can try and Zip one where it works and then add stuff until it not works and make a seperate folder.
Im not using a different version from the one thats in here so we should we able to find out whats the cause in this way

from animeganv2.

PrincessAkira avatar PrincessAkira commented on May 5, 2024

It seems i found something.
If your smooth directory has more than 10 files it refuses to work. (in this case atleast? i had more files once i think)
Ive included a Zip with showcase below.
i tried with the last image in the file list and the first one and it always worked, but the moment i add more file so its 11 files, it will stop working and error me
https://drive.google.com/file/d/11nOdlG27C7Z-nwn-SuJsZ2n5o_BwnizY/view?usp=sharing

from animeganv2.

PrincessAkira avatar PrincessAkira commented on May 5, 2024

any update?

from animeganv2.

PrincessAkira avatar PrincessAkira commented on May 5, 2024

any idea?

from animeganv2.

zobnechopin avatar zobnechopin commented on May 5, 2024

any idea?

@PrincessAkira @TachibanaYoshino

I found something interesting about this and run the training process successful.For the training process, you need prepare three part dataset: style, smooth and real ,the error shows checkout point error, but indeed the actually error is real data not load.
So, the solution is download the whole dataset on Github and put test, read data under your train dataset dir.
But after this I meet another error that shows anime dataset 'tuple out of index', I checked all my dataset and source code, and I found nothing...But, after I checked dataset, it works.

from animeganv2.

PrincessAkira avatar PrincessAkira commented on May 5, 2024

any idea?

@PrincessAkira @TachibanaYoshino

I found something interesting about this and run the training process successful.For the training process, you need prepare three part dataset: style, smooth and real ,the error shows checkout point error, but indeed the actually error is real data not load. So, the solution is download the whole dataset on Github and put test, read data under your train dataset dir. But after this I meet another error that shows anime dataset 'tuple out of index', I checked all my dataset and source code, and I found nothing...But, after I checked dataset, it works.

I can try that later today!
thanks

from animeganv2.

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.