carolineec / informative-drawings Goto Github PK
View Code? Open in Web Editor NEWUnpaired line drawing generation
License: MIT License
Unpaired line drawing generation
License: MIT License
Hi,
In the pre-trained model link, there is only one file i.e., generator A file. Can you please share the remaining three files i.e., files for Generator B, Discriminator A and Discriminator B which can help to perform fine tuning
Hi, Ggeom is using BCE Loss in train.py, but in your paper's implementation, it said your using L1 distance. Is there something �I lost?
The drive link for the pretrained model seems to be deleted. Is it possible to regain access to this?
Hi, I am very impressed with your work! Could you share the trained model for the Contour Drawings dataset, you demonstrate in the paper.
The link to the pre-trained network for mapping ImageNet features into depth images does not work for me.
Hi,
I have a Mac with a M1 CPU and no access to a Cuda device. Is it possible to run the model without it?
I've tried removing all .cuda() calls in test.py and loading with:map_location=torch.device('cpu')
Running test.py through this error:
python test.py --name anime_style --dataroot examples/test Namespace(name='anime_style', checkpoints_dir='checkpoints', results_dir='results', geom_name='feats2Geom', batchSize=1, dataroot='examples/test', depthroot='', input_nc=3, output_nc=1, geom_nc=3, every_feat=1, num_classes=55, midas=0, ngf=64, n_blocks=3, size=256, cuda=True, n_cpu=8, which_epoch='latest', aspect_ratio=1.0, mode='test', load_size=256, crop_size=256, max_dataset_size=inf, preprocess='resize_and_crop', no_flip=False, norm='instance', predict_depth=0, save_input=0, reconstruct=0, how_many=100) loaded checkpoints/anime_style/netG_A_latest.pth Traceback (most recent call last): File "/Users/jan/Documents/ML/informative-drawings/test.py", line 108, in <module> dataloader = DataLoader(test_data, batch_size=opt.batchSize, shuffle=False) File "/opt/homebrew/Caskroom/miniforge/base/envs/drawings/lib/python3.10/site-packages/torch/utils/data/dataloader.py", line 200, in __init__ if isinstance(dataset, IterableDataset): File "/opt/homebrew/Caskroom/miniforge/base/envs/drawings/lib/python3.10/typing.py", line 1469, in __instancecheck__ raise TypeError("Instance and class checks can only be used with" TypeError: Instance and class checks can only be used with @runtime_checkable protocols
I'm not a deveopler, any idea how I might get it to run?
Hi, thanks for the great work. Do you have any plan to release the training dataset? Or how many training samples have you used in each (image, depth, Line)?
Hi. how could i know about caroline_dataset?
I've had it working your over a year. Now I get
Traceback (most recent call last):
File "/informative-drawings/test.py", line 15, in <module>
from model import Generator, GlobalGenerator2, InceptionV3
ModuleNotFoundError: No module named 'model'
Is it a simple path issue? Any idea on how to fix it?
This is incredible! For me, running it with reconstruct switched on gets an error asking for a missing model netG_B_latest.pth. Any plans to make this available too?
Dear author,
I find that you have greatly improved the quality of face pen painting synthesis after using Helen dataset instead of Apdrawing dataset. I'm very interested in it. Can you provide the supplemental of the paper and the experimental dataset, as well as the training / test segmentation strategy of the dataset ?
Thanks
Nan
Do you have a paper link? the results look very interesting.
This is an amazing method. Is there a colab notebook (especially for video) planned?
Thank you! :)
Thank you for great work
I am having doubt about output image shape/size?
does it wont return same size as input (720 * 720 )?
Is there a way to upscale ??
I've trained a model with pictures of Egon Schiele. The colors slowly begin to drift into his color scheme. The linework is pretty much not existing. So far it looks more like a color graded image. Are there settings I can tweak to make his lines and watercolor textures more prominent
Like this with a mixed in other line draw model but with his variable line widths.
?
Hi,
Thank you for the great work, the results are amazing! I am just wondering if there's any plan to make the Contour Drawing model available?
Hi there,
Thanks for your excellent work! I am trying to follow your work and when I want to generate line drawings with different input size, the output image cannot preserve the size.
For example, input size of (390, 500, 3) leads to the output of (392, 500, 3), and input size of (300, 230, 3) leads to the output of (300, 232, 3).
The difference is small but still make some problem to match inputs and outputs in pixels. Is there some way to generate a drawing with the same size of input image?
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.