uber-research / gtn Goto Github PK
View Code? Open in Web Editor NEWLicense: Other
License: Other
Hi,
I've been trying to reproduce the NAS results but I'm not really getting there.
I've trained a generator on CIFAR10 for 2000 iterations and then ran the architecture search with following hyperparameters:
`{
"noise_size": 128,
"inner_loop_init_lr": 0.02,
"lr": 0.0,
"final_relative_lr": 1e-1,
"inner_loop_init_momentum": 0.5,
"generator_batch_size": 128,
"meta_optimizer": "adam",
"adam_beta1": 0.9,
"adam_beta2": 0.9,
"adam_epsilon": 1e-5,
"meta_batch_size": 256,
"validation_learner_type": "enas",
"use_intermediate_losses": 16,
"num_inner_iterations": 128,
"num_meta_iterations": 800,
"dataset": "CIFAR10",
"learner_type": "enas",
"step_by_step_validation": false,
"randomize_width": false,
"use_dataset_augmentation": 1,
"generator_type": "cgtn",
"logging_period": 1,
"use_encoder": false,
"training_iterations_schedule": 0,
"gradient_block_size": 1,
"training_schedule_backwards": false,
"warmup_iterations": 0,
"enable_checkpointing": true,
"meta_learn_labels": false,
"iteration_maps_seed": true,
"load_from": "checkpoints/checkpoint_2000.pt"
}`
It works but my results are noticeably worse than yours, am I missing something?
Environment:
MacOS 10.13.6
Installed pytorch==1.2, mpi4py, fire with conda. horovod with pip
Error:
$ python train_cgtn.py .
Traceback (most recent call last):
File "train_cgtn.py", line 24, in
from models import Classifier, Generator, Encoder, sample_model
File "/Users/jayurbain/Dropbox/GTN/models.py", line 479, in
from exconv import ExConv2d
File "/Users/jayurbain/Dropbox/GTN/exconv.py", line 16, in
import custom_backward_cpp
ModuleNotFoundError: No module named 'custom_backward_cpp'
Any direction would be appreciated.
Thanks,
Jay
solved
Hello,
I found that the torchvision dataset was called, but it didn't really use the cifar10 dataset. Why the architecture search process didn't use the cifar10 dataset?
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.