Git Product home page Git Product logo

Comments (5)

DanielCho-HK avatar DanielCho-HK commented on July 30, 2024

给出的文件似乎不全,是否可以提供完整版的代码与数据集?

您好,我們模型的代碼是train_our和model_our。數據集可以在kaggle上搜索anime pair data。我們使用的就是那個數據。

from icme2023-attention-aware-anime-line-drawing-colorization.

kebai633932 avatar kebai633932 commented on July 30, 2024

您好,数据集是这个Anime Sketch Colorization Pair(https://www.kaggle.com/datasets/ktaebum/anime-sketch-colorization-pair/discussion)吗?对数据集需要进行什么处理?
系统找不到指定的路径。: './self_recon/sketch'和‘./self_recon\gt’,是否可以提供文件?

from icme2023-attention-aware-anime-line-drawing-colorization.

DanielCho-HK avatar DanielCho-HK commented on July 30, 2024

您好,数据集是这个Anime Sketch Colorization Pair(https://www.kaggle.com/datasets/ktaebum/anime-sketch-colorization-pair/discussion)吗?对数据集需要进行什么处理? 系统找不到指定的路径。: './self_recon/sketch'和‘./self_recon\gt’,是否可以提供文件?

哈哈,明白你的意思了。這兩個路徑是我用來計算psnr或者其他指標的。你可以自定義任何你本機上的路徑,重點在於這兩個文件夾分別存放的是上色的結果,以及gt,我的目的是為了計算這兩個文件夾內所有文件相互的相似度或者其他指標。

from icme2023-attention-aware-anime-line-drawing-colorization.

DanielCho-HK avatar DanielCho-HK commented on July 30, 2024

您好,数据集是这个Anime Sketch Colorization Pair(https://www.kaggle.com/datasets/ktaebum/anime-sketch-colorization-pair/discussion)吗?对数据集需要进行什么处理? 系统找不到指定的路径。: './self_recon/sketch'和‘./self_recon\gt’,是否可以提供文件?

你可以看到項目中有兩個dataset腳本,分別是dataset.py和dataset_oldversion.py這兩個的區別在於前者是讀取兩個文件夾內的圖像,後者是只讀取一個文件夾內的圖像,然後進行一步crop操作。之所以有這兩個版本的原因在於,我們使用的這個數據集,你可以發現,他是將sketch和color image左右拼在一起的。我們需要有一本顯式的crop的操作,將sketch和color image分開存儲到兩個tensor變量中,用於後續的計算。

from icme2023-attention-aware-anime-line-drawing-colorization.

kebai633932 avatar kebai633932 commented on July 30, 2024

谢谢

from icme2023-attention-aware-anime-line-drawing-colorization.

Related Issues (4)

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.