Giter Site home page Giter Site logo

frwgan-eccv18's People

Contributors

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

frwgan-eccv18's Issues

code to train cycle_clswgan

Hi, thanks for the hard work on releasing the code! I'm wondering if there is the code for training the cycle-clswgan. I didn't seem to find it in the repo. Thanks!

Why H can only reach 50%-51.5%

Hi,

Can I ask why H can only reach 50%~51.5% instead of 53%?, i strictly run your code without making changes to the parameters.

Best Wishes,

Saving Checkpoints

Hi @rfelixmg ,

Thank you for sharing your valuable code.
I run src/sota/awa1/train_gan.sh and I am getting error while saving checkpoints. Could you please guide me in solving this. I am using Google Colab
error
I will appreciate.

Semantic space for FLO

Hi thanks for your work! I have downloaded the Semantic space of CUB ,Can you please provide the Semantic space of FLO dataset? Thank you.

Can't reproduce results on FLO, AWA

Hi Rafa,

First, thank you again for making your code available to reproduce the experiments.

I managed to closely get the results on CUB, but I couldn't reproduce the results on FLO or AWA.
On FLO, the problem is that I got really bad results, while on AWA one of the scripts throws an error. For reference, on CUB I got H=52.6

In more detail: After setting up the environment, according to the instructions in the README, for each dataset I execute the following:

source src/sota/<dataset_name>/train_gan.sh
mv ./experiments/sota/<dataset_name>/cycle_wgan/0000_TEST_<TIME>/ ./experiments/sota/<dataset_name>/cycle_wgan/gan-model
source src/sota/<dataset_name>/generate_dataset.sh # and choosing the last epoch to generate feature
source src/sota/<dataset_name>/benchmark.sh
mv ./experiments/sota/<dataset_name>/cycle_wgan/0000_classifier_<TIME>/ ./experiments/sota/<dataset_name>/cycle_wgan/classifier
source src/sota/<dataset_name>/tester.sh

For FLO I get the following results: (y(U) =59.7, y(S) =0, H=0)

For AWA I get the following error when running tester.sh:

FileNotFoundError: [Errno 2] No such file or directory: './experiments/sota/awa1/cycle_wgan/classifier/checkpoint/epoch_80_80/architecture.json'

It looks like some kind of configuration error on the scripts.
Could you kindly assist with this issue?

Many Thanks,
Yuval

Architecture File

Hi,

Can I ask where can download the architecture file?

Best Wishes,

Jie,

src/sota/sun/tester.sh does not work

Hello @rfelixmg ,

Thank you for sharing your implementation.

I downloaded your dataset.zip folder and run scripts under src/sota/sun to reproduce your scores on SUN dataset.

  • First, I run src/sota/sun/train_gan.sh
  • Then I run src/sota/sun/generate_dataset.sh

The scripts created an experiment folder named: ./experiments/sota/sun/cycle_wgan/0000_TEST_130419_210747 where ls returns:

-checkpoint
-configuration_130419_210747.json
-git_version.json
-logs
-results
-source
-tensorboard_script.sh

I can share with you the experiment folder, if you need.

According to the contents/hierarchy of the experiment folder, I had to change tester.sh from

#!/usr/bin/env bash
_DBDIR_=./data/
_DATABASE_=sun
_CONFERENCE_=sota
_EPOCH_=epoch_85_85
_MODEL_=./experiments/$_CONFERENCE_/$_DATABASE_/cycle_wgan/classifier/checkpoint/$_EPOCH_/architecture.json

python -m routines.tester -db $_DATABASE_ -rc 1 --load_model $_MODEL_  --dataroot $_DBDIR_

to

#!/usr/bin/env bash
_DBDIR_=./data/
_DATABASE_=sun
_CONFERENCE_=sota
_EPOCH_=epoch_15_15
_MODEL_=./experiments/$_CONFERENCE_/$_DATABASE_/cycle_wgan/0000_TEST_130419_210747/checkpoint/classifier/$_EPOCH_/architecture.json

python -m routines.tester -db $_DATABASE_ -rc 1 --load_model $_MODEL_  --dataroot $_DBDIR_

But then tester.sh gave me this error:

Traceback (most recent call last):
  File "/home/X/frwgan/routines/tester.py", line 185, in <module>
    model, results = main(options=options, dataset=dataset, knn=knn)
  File "/home/X/frwgan/routines/tester.py", line 142, in main
    model = load_model(options.load_model, options.architecture.namespace)
  File "/home/X/frwgan/routines/aux.py", line 48, in load_model
    model = models.__dict__[mtype].__MODEL__()
KeyError: 'rwgan/classifier'

I think this is because "namespace": "rwgan/classifier" is defined in experiments/sota/sun/cycle_wgan/0000_TEST_130419_210747/checkpoint/classifier/epoch_15_15/architecture.json. But the weird thing is that running grep -r "rwgan/classifier" ./ in the root repository directory returns only the architecture file created by the experiments ./experiments/sota/sun/cycle_wgan/0000_TEST_130419_210747/checkpoint/classifier/epoch_15_15/architecture.json. Which means, you never/use 'rwgan/classifier' in your code.

Could you please help me resolving this issue?

FLO dataset is broken

Thank you for posting your code online. It is really helpful.

I would like to reproduce your results on FLO, however it appears that the soft links under ./data/flo-reed/ are broken, and refer to missing files:
data.h5 -> data_TENSORFLOW-CVPR_140318_205157.h5
knn.h5 -> FLO_continuous_knn_140318_165701_CVPR.h5

Could you kindly assist with this issue?

Note about a minor issue that I fixed on my own: The script benchmark.sh looked for the FLO data under ./data/flo instead of ./data/flo-reed

Many Thanks,
Yuval

Generated Features

Hello @rfelixmg

Thank for providing the Amazing Implementation!!!.

I faced the problem of symlink and solved it by reading #11 .

I am beginner and I have some questions.

  1. Is there anyway to resume epochs from the point where it is stopped?

  2. When I executed, generate_dataset.sh, Output shows, Generating seen and Unseen features and dataset .h5 file is created. How to analyze this H5, How to figure out that unseen feature have been generated, Is there any way to seen them.

Thanks,

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.