basiclab / cpcstoryvisualization-pytorch Goto Github PK
View Code? Open in Web Editor NEWCharacter-Preserving Coherent Story Visualization, ECCV 2020
Home Page: https://www.ecva.net/papers/eccv_2020/papers_ECCV/html/2639_ECCV_2020_paper.php
Character-Preserving Coherent Story Visualization, ECCV 2020
Home Page: https://www.ecva.net/papers/eccv_2020/papers_ECCV/html/2639_ECCV_2020_paper.php
I want to evaluate the model but I can't find './script_inference.sh' file. (based on README.md)
So I set the cfg file into './output/final_model/setting.yml', but SameFileError occurs like this.
Traceback (most recent call last):
File "/home/user01/wooseok/CPCStoryVisualization-Pytorch/main_pororo.py", line 137, in <module>
algo = GANTrainer(output_dir, args, ratio=1.0)
File "/home/user01/wooseok/CPCStoryVisualization-Pytorch/trainer.py", line 56, in __init__
copyfile(args.cfg_file, output_dir + 'setting.yml')
File "/home/user01/anaconda3/envs/video1/lib/python3.7/shutil.py", line 104, in copyfile
raise SameFileError("{!r} and {!r} are the same file".format(src, dst))
shutil.SameFileError: './output/final_model/setting.yml' and './output/final_model/setting.yml' are the same file
Can you tell the command or upload 'script_inference.sh' file to evaluate the model?
Hi
Please assist getting the below error when running the main_pororo.py
File "main_pororo.py", line 87, in
video_transforms = functools.partial(video_transform, image_transform=image_transforms) # Only need to feed video later
TypeError: the first argument must be callable
Hi, I am very interested in your paper and the task to generate a story from an image sequence.
I have some questions about the preprocess_pororo.py
.
if __name__ == "__main__":
import os, glob, PIL
for filename in glob.glob('/mnt/storage/pororoSV/Scenes_Dialogues/*/*/*.gif'):
img_name = os.path.basename(filename)
print(img_name)
How do I modify the code to preprocess the dataset?
pororo_png/descriptions_vec.npy
file?preprocess_pororo.py
, numpy file is loaded as:descriptions_vec = np.load("pororo_png/descriptions_vec.npy", encoding='bytes').item()
But, I have no idea how to get this file. Could you clarify it (any documents)?
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.