Giter Site home page Giter Site logo

deep-photo-aesthetics's People

Contributors

rawmarshmellows 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

deep-photo-aesthetics's Issues

about update parameter ?

  • first thans for sharing you code !
  • there is one question , in your train code :

ignored_params = list(map(id, model.attribute_weights.parameters())) base_params = filter(lambda p: id(p) not in ignored_params, model.parameters())
optimizer = torch.optim.Adam([ {'params': base_params}, {'params': model.attribute_weights.parameters(), 'lr': fc_lr, 'weight_decay': 1e-5} ], lr=fine_tune_lr)

  • why you write this way? there is difference like follow :
    optimizer = torch.optim.Adam([ {'params': model.parameters(), 'lr': fc_lr, 'weight_decay': 1e-5} ], lr=fine_tune_lr)

  • can you help me ?thanks again !

CAM Maps

The CAM maps generated by your code doesn't match with the CAM maps produced by the paper.

Error while loading the checkpoint

Hi,
I am getting this error while loading the checkpoint:
---> 10 net.load_state_dict(torch.load(f"{save_path}/{checkpoint}", map_location=lambda storage, loc: storage))
...

RuntimeError: unexpected EOF. The file might be corrupted.

How can I use this for my own images?

Hello!

I'm completely new to python, I'm more like a photographer.
I can use the Notebook until the point when I gent first scores of random photos which are provided by you, but how can I get the most precise scores for my own photo?

Like:

A have a picture, and I just want to get the scores. Is there a way to pass something to command line with arguments to get the scores?
I don't want the Python HTML visualizations, just the scores?

Thank you for your reply!

Bruno

pretrained .pth model file load error.

"RuntimeError: unexpected EOF. The file might be corrupted. " for line:
net.load_state_dict(torch.load(os.path.join(save_path, checkpoint)))
Is the .pth file completed? Thanks a lot.

Labels in train val test .csv files

Hello,
Thanks for sharing your code. I was wondering if the order the labels in csv and dictionary are different or i am missing something ?
In CSV Files the order is like
BalancingElements ColorHarmony Content DoF Light MotionBlur Object Repetition RuleOfThirds Symmetry VividColor score

But in thecode...
BalacingElements ColorHarmony Content DoF Light MotionBlur Object RuleOfThirds VividColor Repetition Symmetry score
The last few are in different order,
so e.g i want to predict Vivid Colors, In dictionary its at 4th last position, but while training from csv i will be giving it a label from 2nd last column.

I am sorry if i can not explain or missunderstood the code ...
Thanks ...

pretrained model

Hi, great work there. I did try the pertained model but it gave an error as
RuntimeError: unexpected EOF. The file might be corrupted.

So I did train the model from scratch and did try new file in the notebook, it gave an error as
UnpicklingError: A load persistent id instruction was encountered,
but no persistent_load function was specified.

What should I do, I am bit confused. Thanks already.

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.