Git Product home page Git Product logo

cpcstoryvisualization-pytorch's People

Contributors

theblackcat102 avatar yunzhusong avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

cpcstoryvisualization-pytorch's Issues

How to evaluate the model? ('script_inference.sh' missing)

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?

Pre-Trained Model Unavailable

Hello! I'm doing some research and would like to evaluate the model but the files are unavailable when I click on the links. Is there any way I can get access to it? 你好! 我在做研究,想使用你的模型,但當我點鏈接時,文件是不可用的。有什麼辦法能讓我獲得它嗎?

image

the first argument must be callable

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

Preprocessing on the Pororo dataset

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.

  1. The code does not preprocess
    I found the code process nothing except for printing file names in the Pororo dataset.
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?

  1. How can I get pororo_png/descriptions_vec.npy file?
    At L62 on 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)?

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.